|
If FileExists("1.txt") Then
$Form1= GUICreate("Form2", 275, 125, 209, 148)
$Group2 = GUICtrlCreateGroup("", 0, 0, 273, 121)
$Button2 = GUICtrlCreateButton("对", 32, 24, 89, 41, 0)
$Button3 = GUICtrlCreateButton("错", 144, 24, 89, 41, 0)
$Label1 = GUICtrlCreateLabel("本工具仅局限内部交流请勿对外发布,谢谢合作", 16, 88, 247, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
MsgBox(64,"猪","你是对的")
Exit
Case $Button3
MsgBox(64,"猪","是你的不对")
EndSwitch
WEnd
Else
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form2= GUICreate("Form2", 275, 125, 209, 148)
$Group1 = GUICtrlCreateGroup("", 0, 0, 273, 121)
$Button4 = GUICtrlCreateButton("对", 32, 24, 89, 41, 0)
$Button5 = GUICtrlCreateButton("错", 144, 24, 89, 41, 0)
$Label1 = GUICtrlCreateLabel("本工具仅局限内部交流请勿对外发布,谢谢合作", 16, 88, 247, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
Case $GUI_EVENT_CLOSE
Exit
Case $Button4
MsgBox(64,"猪","你是对的")
Exit
Case $Button5
MsgBox(64,"猪","是你的不对")
EndSwitch
WEnd
EndIf |
|