Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <EditConstants.au3>
- #include <GUIConstantsEx.au3>
- #include <WindowsConstants.au3>
- #Region ### START Koda GUI section ### Form=
- Global $Form1 = GUICreate("Form1", 422, 192, 192, 124)
- Global $Input1 = GUICtrlCreateInput("", 104, 72, 225, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD))
- Global $Button1 = GuiCtrlCreateButton("Click để xem bạn vừa nhập gì", 104, 102)
- GUISetState(@SW_SHOW)
- #EndRegion ### END Koda GUI section ###
- While 1
- $nMsg = GUIGetMsg()
- Switch $nMsg
- Case $GUI_EVENT_CLOSE
- Exit
- Case $Button1
- $Value = GUICtrlRead($Input1)
- MsgBox(64, "Thông báo", "Bạn vừa nhập:"&@CRLF&$value)
- EndSwitch
- WEnd
Advertisement
Add Comment
Please, Sign In to add comment