Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Новый участник


Сообщения: 26
Благодарности: 0

Профиль | Отправить PM | Цитировать


Код: Выделить весь код
#include <GUIConstants.au3>    #Region ### START Koda GUI section ### Form=C:\Users\Lexa\AppData\Local\Temp\Rar$EX00.605\Forms\12.kxf  $Form1_1 = GUICreate("Settings", 340, 281, 374, 214)  GUISetIcon("C:\Users\Lexa\Desktop\heroic_autobots.ico")  GUISetFont(8, 800, 0, "Palatino Linotype")  GUISetBkColor(0xFFFBF0)  $Checkbox1 = GUICtrlCreateCheckbox("Выводить общюю статистику", 8, 56, 289, 25)  GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")  $Label1 = GUICtrlCreateLabel("                AvToB0T Settings", 0, 0, 339, 25)  GUICtrlSetFont(-1, 12, 800, 0, "FreeSetBlackCTT")  GUICtrlSetBkColor(-1, 0xA6CAF0)  $Label2 = GUICtrlCreateLabel("Кол-во попыток запуска при ошибке соеденения:", 8, 96, 324, 22)  GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")  $Input1 = GUICtrlCreateInput("Input1", 8, 128, 209, 24)  $Label3 = GUICtrlCreateLabel("Количество аккаунтов:", 8, 168, 191, 26)  GUICtrlSetFont(-1, 12, 800, 0, "Palatino Linotype")  $Input2 = GUICtrlCreateInput("Input2", 8, 200, 209, 24)  $Button2 = GUICtrlCreateButton("Сохранить", 8, 240, 97, 25, 0)  GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")  $Button1 = GUICtrlCreateButton("Выйти", 120, 240, 97, 25, 0)  GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")  $Label4 = GUICtrlCreateLabel("By ToSTeP", 272, 256, 52, 18)  GUICtrlSetFont(-1, 7, 800, 0, "Palatino Linotype")  GUISetState(@SW_SHOW)  #EndRegion ### END Koda GUI section ###    While 1  $nMsg = GUIGetMsg()  Switch $nMsg  Case $GUI_EVENT_CLOSE  Exit  EndSwitch  $msg = GUIGetMsg()    Select      Case $msg = $Button2        MsgBox(0,'','11111button')    Case $msg = $GUI_EVENT_CLOSE        ExitLoop    Case $msg = $Button1  	  MsgBox(0,'','22222button2')  	  Exit    EndSelect  WEnd
#include <GUIConstants.au3>

#Region ### START Koda GUI section ### Form=C:\Users\Lexa\AppData\Local\Temp\Rar$EX00.605\Forms\12.kxf
$Form1_1 = GUICreate("Settings", 340, 281, 374, 214)
GUISetIcon("C:\Users\Lexa\Desktop\heroic_autobots.ico")
GUISetFont(8, 800, 0, "Palatino Linotype")
GUISetBkColor(0xFFFBF0)
$Checkbox1 = GUICtrlCreateCheckbox("Выводить общюю статистику", 8, 56, 289, 25)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$Label1 = GUICtrlCreateLabel(" AvToB0T Settings", 0, 0, 339, 25)
GUICtrlSetFont(-1, 12, 800, 0, "FreeSetBlackCTT")
GUICtrlSetBkColor(-1, 0xA6CAF0)
$Label2 = GUICtrlCreateLabel("Кол-во попыток запуска при ошибке соеденения:", 8, 96, 324, 22)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$Input1 = GUICtrlCreateInput("Input1", 8, 128, 209, 24)
$Label3 = GUICtrlCreateLabel("Количество аккаунтов:", 8, 168, 191, 26)
GUICtrlSetFont(-1, 12, 800, 0, "Palatino Linotype")
$Input2 = GUICtrlCreateInput("Input2", 8, 200, 209, 24)
$Button2 = GUICtrlCreateButton("Сохранить", 8, 240, 97, 25, 0)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$Button1 = GUICtrlCreateButton("Выйти", 120, 240, 97, 25, 0)
GUICtrlSetFont(-1, 10, 800, 0, "Palatino Linotype")
$Label4 = GUICtrlCreateLabel("By ToSTeP", 272, 256, 52, 18)
GUICtrlSetFont(-1, 7, 800, 0, "Palatino Linotype")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
$msg = GUIGetMsg()
Select
Case $msg = $Button2
MsgBox(0,'','11111button')
Case $msg = $GUI_EVENT_CLOSE
ExitLoop
Case $msg = $Button1
MsgBox(0,'','22222button2')
Exit
EndSelect
WEnd

Отправлено: 18:30, 18-12-2010 | #13