I have this code so far that makes a working timer:
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Timer1.Start()
Timer1.Enabled = True
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
MessageBox.Show("Times Up")
Timer1.Enabled = False
End Sub
Private Sub ProgressBar1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ProgressBar1.Click
End Sub
End Class
I want to allow the progress bar to track the progress of th timer. The timer will be set for 1 hour and I want the progress bar to performstep every 10 seconds and perform a total of 360 steps.
2007-06-04
00:00:10
·
2 answers
·
asked by
Game-Guy Pro
5
in
Programming & Design