本文介绍了如何双击链接,它将在webbrowser中打开它?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我有一个列表框,我添加了我想要的任何地址或

Hello,
I have a listbox that I add any address that I want or

lstBox.Items.Add(WebBrowser1.Url.Host)



我希望如果用户点击保存,就会在喜欢的网站上浏览你(如在任何网页浏览器中)。

[]



感谢您的帮助。



我有什么试过:




and I want that if user click on saved like its will navigate you there (like in any web browser) from favorite web site.
as — imgbb.com[^]

Thanks for the help.

What I have tried:

Private Sub lstBox_SelectedIndexChanged(sender As Object, e As EventArgs) Handles lstBox.SelectedIndexChanged
        If lstBox.SelectedIndex Then
            lstBox_DoubleClick = WebBrowser1.Navigate(lstBox.SelectedIndex)
        End If
    End Sub

推荐答案


这篇关于如何双击链接,它将在webbrowser中打开它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 17:46