|
本帖最后由 273952582 于 2009-9-13 12:48 编辑
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 454, 192, 114)
$List1 = GUICtrlCreateList("", 64, 64, 177, 266)
$List2 = GUICtrlCreateList("", 328, 64, 185, 253)
$Button1 = GUICtrlCreateButton("添加>>", 256, 96, 65, 33, $WS_GROUP)
$Button2 = GUICtrlCreateButton("删除<<", 250, 211, 65, 33, $WS_GROUP)
GUICtrlSetData($List1,"1")
GUICtrlSetData($List1,"2")
GUICtrlSetData($List1,"3")
GUICtrlSetData($List1,"11")
GUICtrlSetData($List2,"12")
GUICtrlSetData($List2,"13")
GUICtrlSetData($List2,"14")
GUICtrlSetData($List2,"15")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd |
|