找回密码
 加入
搜索
查看: 1736|回复: 0

[AU3基础] 然后让文字显示当前系统,按钮弹出msgbox是当前系统

  [复制链接]
发表于 2015-3-1 21:38:27 | 显示全部楼层 |阅读模式
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 438, 165, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 88, 24, 225, 57)
$Label1 = GUICtrlCreateLabel("Label1", 176, 112, 36, 17)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
        $nMsg = GUIGetMsg()
        Switch $nMsg
                Case $GUI_EVENT_CLOSE
                        Exit

        EndSwitch
WEnd
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-11 15:44 , Processed in 0.072589 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表