level 1
孤独自爱
楼主
#include <GUIConstantsEx.au3>$UNAME='123'$PWD='123'Local $GID=GUICreate("登陆提示",180,180)GUICtrlCreateLabel("输入你的用户名:",20,40,140)$username=GUICtrlCreateInput("",20,61,140,20)GUICtrlCreateLabel("请输入密码:",20,82,140)$password=GUICtrlCreateInput("",20,103,140,20)Local $logins=GUICtrlCreateButton("登陆",20,142,50,20)Local $about=GUICtrlCreateButton("取消",80,142,50,20)GUISetState()Do$SHOW=GUIGetMsg()SelectCase $SHOW=$loginsGUICtrlCreateLabel("",20,162)If $username==$UNAME And $password==$PWD ThenGUICtrlCreateLabel(" ",20,162)GUICtrlCreateLabel("成功",20,162)ElseGUICtrlCreateLabel(" ",20,162)GUICtrlCreateLabel("失败",20,162)EndIfCase $SHOW=$aboutExitLoopEndSelect
Until $SHOW=$GUI_EVENT_CLOSE
登录时老是提示失败。失败。失败。悲剧啊。
2011年11月05日 05点11分
1
Until $SHOW=$GUI_EVENT_CLOSE
登录时老是提示失败。失败。失败。悲剧啊。