Quando morirai?

« Older   Newer »
  Share  
Gianlu-thebest
CAT_IMG Posted on 26/3/2010, 19:44     +1   -1




Ho fattto un altro programmino che ti dice quando morirai. Ovviamente decide anche anubi:
SPOILER (click to view)
;~ #include <guiconstants.au3>
#include <windowsconstants.au3>
GUICreate("Quando morirai?",350,300,15,15,$WS_POPUP)

Opt("GUIOnEventMode",1)

$inp=GUICtrlCreateInput("",5,55,300,20)
$inp2=GUICtrlCreateInput("",5,125,300,20)

GUICtrlCreateLabel("Quanti anni hai?",10,30)
GUICtrlCreateLabel("Morirai tra:",10,100)
GUICtrlCreateLabel("Anni",310,127)

$b=GUICtrlCreateButton("Calcola",50,250,90,40)
$GUI_EVENT_CLOSE=GUICtrlCreateButton("Esci",150,250,90,40)

GUISetState()

GUICtrlSetOnEvent($GUI_EVENT_CLOSE,"_EXIT")
GUICtrlSetOnEvent($b,"calc")

GUICtrlSetState($inp2,128)


While 1
Sleep(200)
WEnd
Func calc()
$read=GUICtrlRead($inp)
$rand=Random(1,80,1)
$ris=$rand-Random(0,5,1)
GUICtrlSetData($inp2,$ris)
EndFunc
Func _EXIT()
Exit
EndFunc
 
Top
-Anubi-
CAT_IMG Posted on 26/3/2010, 19:46     +1   -1




u.u decide SOLO Anubi
 
Top
Gianlu-thebest
CAT_IMG Posted on 26/3/2010, 19:48     +1   -1




xDxDxDxDxDxD
 
Top
ACIDBURN16
CAT_IMG Posted on 26/3/2010, 21:27     +1   -1




Bello, io ho intenzione di fare un test della morte con i radio e le domande :D
 
Top
CAT_IMG Posted on 4/4/2010, 13:40     +1   -1

Luigi Verzģ - Sviluppatore Web

Group:
Member
Posts:
1,286
Reputazione:
+3
Location:
Catania

Status:


Ho messo che ho 100 anni e dice che morirņ tra 90 xD, ora lo faccio fare a mio nonno...
 
Web  Contacts  Top
4 replies since 26/3/2010, 19:44   142 views
  Share