Private Sub Form_Load()
Timer1.Enabled = True
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = False
Timer5.Enabled = False
Timer1.Interval = 60000
Timer2.Interval = 60000
Timer3.Interval = 60000
Timer4.Interval = 60000
Timer5.Interval = 60000
End Sub
Private Sub Timer1_Timer()
Timer2.Enabled = True
Timer1.Enabled = False
End Sub
Private Sub Timer2_Timer()
Timer2.Enabled = True
Timer1.Enabled = False
End Sub
Private Sub Timer3_Timer()
Timer2.Enabled = True
Timer1.Enabled = False
End Sub
Private Sub Timer4_Timer()
Timer2.Enabled = True
Timer1.Enabled = False
End Sub
Private Sub Timer5_Timer()
End
End Sub
定义5个timer控件,因为timer控件只能设置65536毫秒,约65秒