我正在创建一个自动化程序,但我被计时器困住了。当我启动程序时,它只是说间隔是 0
这是我得到的:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim TextBox1 As String
Dim URL As String
Dim Textbox3 As Integer
Dim i As Integer
Dim Times As Integer
Dim Time As Integer
Dim Textbox2 As Integer
Dim rampTimer As New Timer
Dim Tyme As Integer
Restart:
TextBox1 = URL
UseProxy(ListBox1.Items.Item(i))
WebBrowser1.Navigate(URL)
Tyme = Textbox3 * 1000 * 6
rampTimer.Interval = Tyme
rampTimer.Enabled = True
Time = Times + 1
If Time = Textbox2 Then
MsgBox("Done! Made by Laboboy31", "Done")
GoTo Last
End If
Times = Time
GoTo Restart
Last:
End Sub