; CreatoR
; http://autoit-script.ru/index.php/topic,309.msg2812.html#msg2812
#include <_Restart.au3>
GUICreate('My Program', 250, 260)
$Button = GUICtrlCreateButton('Перезапуск', 70, 110, 100, 28)
GUISetState()
While 1
	Switch GUIGetMsg()
		Case $Button
			_Restart()
		Case -3
			Exit
	EndSwitch
WEnd