Upload
gilang-on-wp
View
214
Download
0
Embed Size (px)
DESCRIPTION
VB6
Citation preview
Private Sub btnStart_Click()If tmrTime.Enabled = False ThentmrTime.Enabled = TrueElsetmrTime.Enabled = FalseEnd IfEnd Sub
Private Sub tmrTime_timer()Label3.Caption = Val(Label3.Caption) + Val(1)If Label3.Caption = 60 ThenLabel2.Caption = Val(Label2.Caption) + Val(1)Label3.Caption = 0ElseIf Label2.Caption = 60 ThenLabel1.Caption = Val(Label1.Caption) + Val(1)Label2.Caption = 0End IfEnd Sub
Private Sub Form_Load()tmrTime.Enabled = FalseEnd Sub
Private Sub btnExit_Click()Unload MeEnd Sub