You are on page 1of 1

Private Sub btnStart_Click()

If tmrTime.Enabled = False Then


tmrTime.Enabled = True
Else
tmrTime.Enabled = False
End If
End Sub
Private Sub tmrTime_timer()
Label3.Caption = Val(Label3.Caption) + Val(1)
If Label3.Caption = 60 Then
Label2.Caption = Val(Label2.Caption) + Val(1)
Label3.Caption = 0
ElseIf Label2.Caption = 60 Then
Label1.Caption = Val(Label1.Caption) + Val(1)
Label2.Caption = 0
End If
End Sub
Private Sub Form_Load()
tmrTime.Enabled = False
End Sub
Private Sub btnExit_Click()
Unload Me
End Sub

You might also like