MsgBox "(c) David HavlφΦek 9.1.2000 Tento program je FREEWARE !"
MsgBox "Autor neruΦφ za Ükody zp∙sobenΘ pou₧itφm tohoto softwaru!"
End Sub
Private Sub Form_Load()
Image1.Picture = LoadPicture(None)
Image2.Picture = LoadPicture(None)
Image3.Picture = LoadPicture(None)
Image4.Picture = LoadPicture(None)
Image5.Picture = LoadPicture(None)
Image6.Picture = LoadPicture(None)
Image7.Picture = LoadPicture(None)
Image8.Picture = LoadPicture(None)
Image9.Picture = LoadPicture(None)
End Sub
Private Sub Image1_Click()
If Image1.Picture = Form2.Image1.Picture Then GoTo k
If Image1.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image1.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image1.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image2_Click()
If Image2.Picture = Form2.Image1.Picture Then GoTo k
If Image2.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image2.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image2.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image3_Click()
If Image3.Picture = Form2.Image1.Picture Then GoTo k
If Image3.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image3.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image3.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image4_Click()
If Image4.Picture = Form2.Image1.Picture Then GoTo k
If Image4.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image4.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image4.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image5_Click()
If Image5.Picture = Form2.Image1.Picture Then GoTo k
If Image5.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image5.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image5.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image6_Click()
If Image6.Picture = Form2.Image1.Picture Then GoTo k
If Image6.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image6.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image6.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image7_Click()
If Image7.Picture = Form2.Image1.Picture Then GoTo k
If Image7.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image7.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image7.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image8_Click()
If Image8.Picture = Form2.Image1.Picture Then GoTo k
If Image8.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image8.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image8.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Image9_Click()
If Image9.Picture = Form2.Image1.Picture Then GoTo k
If Image9.Picture = Form2.Image2.Picture Then GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.1" Then Image9.Picture = Form2.Image1.Picture: Label1.Caption = "Hraje hrßΦ Φ.2": GoTo k
If Label1.Caption = "Hraje hrßΦ Φ.2" Then Image9.Picture = Form2.Image2.Picture: Label1.Caption = "Hraje hrßΦ Φ.1": GoTo k
k:
End Sub
Private Sub Timer1_Timer()
If Image1.Picture = Form2.Image1.Picture And Image4.Picture = Form2.Image1.Picture And Image7.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image1.Picture = Form2.Image2.Picture And Image4.Picture = Form2.Image2.Picture And Image7.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image2.Picture = Form2.Image1.Picture And Image5.Picture = Form2.Image1.Picture And Image8.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image2.Picture = Form2.Image2.Picture And Image5.Picture = Form2.Image2.Picture And Image8.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image3.Picture = Form2.Image1.Picture And Image6.Picture = Form2.Image1.Picture And Image9.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image3.Picture = Form2.Image2.Picture And Image6.Picture = Form2.Image2.Picture And Image9.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image1.Picture = Form2.Image1.Picture And Image2.Picture = Form2.Image1.Picture And Image3.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image1.Picture = Form2.Image2.Picture And Image2.Picture = Form2.Image2.Picture And Image3.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image4.Picture = Form2.Image1.Picture And Image5.Picture = Form2.Image1.Picture And Image6.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image4.Picture = Form2.Image2.Picture And Image5.Picture = Form2.Image2.Picture And Image6.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image7.Picture = Form2.Image1.Picture And Image8.Picture = Form2.Image1.Picture And Image9.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image7.Picture = Form2.Image2.Picture And Image8.Picture = Form2.Image2.Picture And Image9.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image1.Picture = Form2.Image1.Picture And Image5.Picture = Form2.Image1.Picture And Image9.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image1.Picture = Form2.Image2.Picture And Image5.Picture = Form2.Image2.Picture And Image9.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
If Image3.Picture = Form2.Image1.Picture And Image5.Picture = Form2.Image1.Picture And Image7.Picture = Form2.Image1.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 1": GoTo k
If Image3.Picture = Form2.Image2.Picture And Image5.Picture = Form2.Image2.Picture And Image7.Picture = Form2.Image2.Picture Then MsgBox "Vyhrßl hrßΦ Φφslo 2": GoTo k
GoTo k2
k:
Image1.Picture = Form2.Image3.Picture
Image2.Picture = Form2.Image3.Picture
Image3.Picture = Form2.Image3.Picture
Image4.Picture = Form2.Image3.Picture
Image5.Picture = Form2.Image3.Picture
Image6.Picture = Form2.Image3.Picture
Image7.Picture = Form2.Image3.Picture
Image8.Picture = Form2.Image3.Picture
Image9.Picture = Form2.Image3.Picture
Label1.Caption = "Click to Znova"
k2:
If Image1.Picture = Form2.Image1.Picture Or Image1.Picture = Form2.Image2.Picture Then t = t + 1
If Image2.Picture = Form2.Image1.Picture Or Image2.Picture = Form2.Image2.Picture Then t = t + 1
If Image3.Picture = Form2.Image1.Picture Or Image3.Picture = Form2.Image2.Picture Then t = t + 1
If Image4.Picture = Form2.Image1.Picture Or Image4.Picture = Form2.Image2.Picture Then t = t + 1
If Image5.Picture = Form2.Image1.Picture Or Image5.Picture = Form2.Image2.Picture Then t = t + 1
If Image6.Picture = Form2.Image1.Picture Or Image6.Picture = Form2.Image2.Picture Then t = t + 1
If Image7.Picture = Form2.Image1.Picture Or Image7.Picture = Form2.Image2.Picture Then t = t + 1
If Image8.Picture = Form2.Image1.Picture Or Image8.Picture = Form2.Image2.Picture Then t = t + 1
If Image9.Picture = Form2.Image1.Picture Or Image9.Picture = Form2.Image2.Picture Then t = t + 1
If t = 9 Then MsgBox "Nikdo nevyhrßl !": t = 0: GoTo k