Code : Tout sélectionner
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
Global $Form1 = GUICreate("Form1", 303, 158, 192, 124)
Global $Button1 = GUICtrlCreateButton("start", 176, 104, 105, 33, $WS_GROUP)
Global $temp = GUICtrlCreateInput("temp", 40, 24, 73, 21)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
sleep ($temp*1000)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd



