You are on page 1of 2

Start Button

*************
Timer1.Start()
Button2.Enabled = True
Button3.Enabled = True
Button1.Enabled = True
***********************************************************************************
*****************************************************************
Pause Button
***************
Timer1.Stop()
Button2.Enabled = False
Button3.Enabled = False
Button1.Enabled = True
***********************************************************************************
*****************************************************************
Stop Button
*************
TextBox1.Text = Label1.Text + Label5.Text + Label2.Text + Label4.Text + Label3.Text
Timer1.Stop()
Button2.Enabled = False
Button3.Enabled = False
Button1.Enabled = True
Label1.Text = "0"
Label2.Text = "0"
Label3.Text = "0"
***********************************************************************************
*****************************************************************
Reset Button
**************
TextBox1.Clear()
***********************************************************************************
*****************************************************************
Exit Button
************
Application.Exit()
***********************************************************************************
*****************************************************************
Timer1 Tick
*************
Label3.Text = Label3.Text + 1

If Label3.Text = "60" Then


Label3.Text = "0"
Label2.Text = Label2.Text + 1
End If

If Label2.Text = "60" Then


Label2.Text = "0"
Label1.Text = Label1.Text + 1
End If

If Label1.Text = "24" Then


Label3.Text = "0"
Label2.Text = "0"
Label1.Text = "0"
End If
If Label1.Text = "60" Then
Label3.Text = "0"
Label2.Text = "0"
Label1.Text = "0"
End If
***********************************************************************************
*****************************************************************

You might also like