MrTheDzam

[Re-UP]: Demo Password

Aug 31st, 2015
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.65 KB | None | 0 0
  1. #include <EditConstants.au3>
  2. #include <GUIConstantsEx.au3>
  3. #include <WindowsConstants.au3>
  4. #Region ### START Koda GUI section ### Form=
  5. Global $Form1 = GUICreate("Form1", 422, 192, 192, 124)
  6. Global $Input1 = GUICtrlCreateInput("", 104, 72, 225, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_PASSWORD))
  7. Global $Button1 = GuiCtrlCreateButton("Click để xem bạn vừa nhập gì", 104, 102)
  8. GUISetState(@SW_SHOW)
  9. #EndRegion ### END Koda GUI section ###
  10.  
  11. While 1
  12.     $nMsg = GUIGetMsg()
  13.     Switch $nMsg
  14.         Case $GUI_EVENT_CLOSE
  15.             Exit
  16.         Case $Button1
  17.             $Value = GUICtrlRead($Input1)
  18.             MsgBox(64, "Thông báo", "Bạn vừa nhập:"&@CRLF&$value)
  19.     EndSwitch
  20. WEnd
Advertisement
Add Comment
Please, Sign In to add comment