a290450620 发表于 2015-3-1 21:38:27

然后让文字显示当前系统,按钮弹出msgbox是当前系统

#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
页: [1]
查看完整版本: 然后让文字显示当前系统,按钮弹出msgbox是当前系统