Hello all
i have a small problem in using the timer as an array
here is my code
what i want is after the timer tick
but i dont know how and where to write this code?
i have a small problem in using the timer as an array
here is my code
VB.NET:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim i As New Integer
i = 1
Dim timer(i) As Timer
timer(i) = New Timer
While i < 5
timer(i).Interval = 3000 * i
timer(i).Enabled = True
i = i + 1
timer(i) = New Timer
End While
End Sub
what i want is after the timer tick
VB.NET:
textbox1.text=i