我在vb.net上有一个webbrowser复习,但我想把一个代理放到webbrowser我不知道它是如何工作的。
以下是我的代码:
Public Class Form1
Private Property cpn As String
Private Property video As String
Private Property video1 As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Enabled = True
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Timer1.Enabled = False
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
WebBrowser1.Navigate("http://www.google.com")
lblCount.Text += 1
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
所以例如我想要一个proxy.text框,我可以在其中放入代理。