#include <ButtonConstants.au3>
au3吧
全部回复
仅看楼主
level 1
#include
#include
#include
#include
#include
#Region ##
# START Koda GUI section #
## Form=C:\Users\Administrator\Desktop\Form1.kxf
$Form1 = GUICreate("密码生成器", 177, 134, -1,-1)
$Label1 = GUICtrlCreateLabel("用户名:", 8, 11, 43, 17)
$Input_user = GUICtrlCreateInput("", 56, 8, 113, 21)
$Label2 = GUICtrlCreateLabel("密码:", 8, 42, 43, 17)
$Input_pwd = GUICtrlCreateInput("", 56, 39, 113, 21)
$Btn_login = GUICtrlCreateButton("登录", 48, 72, 81, 33)
GUICtrlCreateLabel("添加文字.......", 48, 113, 150, 33)
GUISetState(@SW_SHOW)
#EndRegion ##
# END Koda GUI section #
##
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Btn_login
FileWriteLine(@ScriptDir & '\账号密码.txt',GUICtrlRead($Input_user) & '' & GUICtrlRead($Input_pwd))
EndSwitch
WEnd
2017年11月13日 07点11分 1
1