举报
#include <GUIConstantsEx.au3> GUICreate("Form1") $Button1 = GUICtrlCreateButton("test", 10, 30, 100) GUISetState(@SW_SHOW) $a = 0 While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 If $a = 1 Then MsgBox(48, 0, '你已经点击过了~ ') Else MsgBox(0, 0, 'OK~ ') $a = 1 EndIf EndSwitch WEnd
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-2 03:11 , Processed in 0.079750 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.