- Код: Выделить всё
Private Sub Command4_Click()
Timer1.Enabled = True
s = 300
Timer1_Timer
End Sub
Private Sub Timer1_Timer()
Label1.Caption = "Âû äîëæíû ïðîéòè èãðó çà îñòàâøèåñÿ / ñåê " & Str(s) & "ñåêóíä"
s = s - 1
If Image1.Picture = LoadPicture("c:\pt.bmp") Then
Image1.Picture = LoadPicture("c:\Ïòè÷êà1.bmp")
ElseIf Image1.Picture = LoadPicture("c:\Ïòè÷êà1.bmp") Then
Image1.Picture = LoadPicture("c:\pt.bmp")
End If
End Sub