GUICreate("修改密码", 300, 180)
$Label0 = GUICtrlCreateLabel("================修改密码================", 24, 10, 280, 17)
$Label1 = GUICtrlCreateLabel("用 户 名:", 24, 32, 80, 17)
$Input1 = GUICtrlCreateInput("", 100, 30, 164, 18)
$Label2 = GUICtrlCreateLabel("原 密 码:", 24, 52, 80, 17)
$Input2 = GUICtrlCreateInput("", 100, 50, 164, 18)
$Label3 = GUICtrlCreateLabel("新 密 码:", 24, 72, 80, 17)
$Input3 = GUICtrlCreateInput("", 100, 70, 164, 18)
$Label4 = GUICtrlCreateLabel("确认新密码:", 24, 92, 80, 17)
$Input4 = GUICtrlCreateInput("", 100, 90, 164, 18)
$btn = GUICtrlCreateButton("读取", 24, 135, 120, 22)
$btc = GUICtrlCreateButton("退出", 145, 135, 120, 22)
GUISetState()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case - 3, $btc
Exit
Case $btn
$1 = GUICtrlRead($Input1)
$2 = GUICtrlRead($Input2)
$3 = GUICtrlRead($Input3)
$4 = GUICtrlRead($Input4)
MsgBox(0, 0, $1 & @CRLF & $2 & @CRLF & $3 & @CRLF & $4)
EndSwitch
WEnd