#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
GUICreate('',@DesktopWidth,@DesktopHeight,0,0,$WS_POPUP)
GuictrlCreatePic(@ScriptDir & '\pic.jpg',0,0,@DesktopWidth,@DesktopHeight)
Guisetstate()
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 509, 342)
$Label1 = GUICtrlCreateLabel("Это основное окно.", 96, 120, 316, 49)
GUICtrlSetFont(-1, 24, 800, 6, "Comic Sans MS")
GUICtrlSetColor(-1, 0x800000)
$Button1 = GUICtrlCreateButton("Назад", 272, 312, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Далее", 352, 312, 75, 25, $WS_GROUP)
GUICtrlSetState(-1, $GUI_DISABLE)
$Button3 = GUICtrlCreateButton("Отмена", 432, 312, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
case $Button1
Exit
case $Button3
Exit
EndSwitch
WEnd