Timer1_Timer End Sub Private Sub Timer1_Timer() Timer1.Interval = 1000 LabelSec.Caption = LabelSec.Caption + 1
If LabelSec.Caption = 60 Then LabelSec.Caption = "00" LabelMin.Caption = LabelMin.Caption + 1 If LabelMin.Caption > 0 And LabelMin.Caption < 10 Then LabelMin.Caption = "0" & LabelMin.Caption End If End If
If LabelSec.Caption > 0 And LabelSec.Caption < 10 Then LabelSec.Caption = "0" & LabelSec.Caption End If End Sub