Skip to main content

Design the digital watch using Timer Control.

· One min read
Kaustubh Kulkarni

file.vb
Private Sub Command1_Click()  
Timer1.Enabled = True



End Sub

Private Sub Command2_Click()
Timer1.Enabled = False

End Sub

Private Sub Timer1_Timer()
Label1.Caption = Time

End Sub