Questo sito utilizza cookies solo per scopi di autenticazione sul sito e nient'altro. Nessuna informazione personale viene tracciata. Leggi l'informativa sui cookies.
Username: Password: oppure
Cavolata - Form1.frm

Form1.frm

Caricato da: Albertking82
Scarica il programma completo

  1. Dim cont As Integer
  2. Private Sub cmdsi_Click()
  3. MsgBox "Lo sapevo!!!", vbInformation, "Scemo!!!"
  4. Unload Me
  5. End Sub
  6.  
  7. Private Sub Command1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  8. If X >= Command1.Left Or X <= Command1.Width Then
  9. Command1.Visible = False
  10. Command2.Visible = True
  11. End If
  12. cont = cont + 1
  13. Select Case cont
  14.  Case 2
  15.  MsgBox "dai su!!!", vbInformation, "Scemo!!!"
  16.  Case 4
  17.  MsgBox "Ammettilo dai!!!", vbInformation, "Scemo!!!"
  18.   Case 7
  19.  MsgBox "Mi fai ridere :) !!!", vbInformation, "Scemo!!!"
  20.  Case 9
  21.  MsgBox "Sei proprio stupido a non ammetterlo!!!", vbInformation, "Scemo!!!"
  22.  MsgBox "Vabbè dai mi fai un pò pena chiudiamo sto programma!!", vbInformation, "Scemo!!!"
  23.  Unload Me
  24. End Select
  25. End Sub
  26.  
  27. Private Sub Command2_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
  28. If X >= Command2.Left Or X <= Command2.Width Then
  29. Command2.Visible = False
  30. Command1.Visible = True
  31. End If
  32. End Sub