|
楼主 |
发表于 2009-2-12 20:39:45
|
显示全部楼层
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 575, 137, 192, 124)
$Edit = GUICtrlCreateEdit("", 8, 16, 465, 97)
$Button1 = GUICtrlCreateButton("Button1", 480, 16, 73, 41, 0)
$Button2 = GUICtrlCreateButton("Button1", 480, 71, 73, 41, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
GUICtrlSetData($Edit,"等待...")
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetData($Edit,"首 页")
Case $Button2
GUICtrlSetData($Edit,"登 陆")
EndSwitch
WEnd
自己研究了下 终于OK了~!!!! |
|