Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ButtonConstants.au3>
- #include <EditConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <StaticConstants.au3>
- #include <WindowsConstants.au3>
- #Region ### START Koda GUI section ### Form=
- $Form1 = GUICreate("Form1", 534, 295, 226, 139)
- $Input1 = GUICtrlCreateInput("", 96, 80, 345, 21)
- $Button1 = GUICtrlCreateButton("Xem", 96, 144, 137, 49)
- $Button2 = GUICtrlCreateButton("Xóa", 304, 144, 137, 49)
- $Label1 = GUICtrlCreateLabel("Autoit - Bài 2", 184, 24, 178, 40)
- GUICtrlSetFont(-1, 24, 400, 0, "Times New Roman")
- GUICtrlSetColor(-1, 0xFF0000)
- $Button3 = GUICtrlCreateButton("Thoát", 200, 224, 137, 49)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- Case $Button1
- $Input1 = GUICtrlCreateInput("Hello Word", 96, 80, 345, 21)
- case $Button2
- $Input1 = GUICtrlCreateInput("", 96, 80, 345, 21)
- case $Button3
- Exit
- EndSwitch
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement