您需要 登录 才可以下载或查看,没有账号?加入
举报
#include <ButtonConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Form1", 227, 59, 192, 124) $Button1 = GUICtrlCreateButton("确定", 16, 16, 75, 25, $WS_GROUP) $Button2 = GUICtrlCreateButton("取消", 112, 16, 75, 25, $WS_GROUP) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 MsgBox (0,"","你点击了【确定】按钮") Case $Button2 MsgBox (0,"","你点击了【取消】按钮") EndSwitch WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-4-21 15:11 , Processed in 0.090336 second(s), 21 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2025 Discuz! Team.