#Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=D:autoit3Aut2ExeIconsdocuments-white-exec.ico
#AutoIt3Wrapper_outfile=系统设置.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseAnsi=y
#AutoIt3Wrapper_Res_Description=设置优化工具
#AutoIt3Wrapper_Res_Fileversion=0.0.0.2
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <GUIConstants.au3>
#include <GuiStatusBar.au3>
#NoTrayIcon
$Form1 = GUICreate("主介面" , 637, 425)
$ButtonExit = GUICtrlCreateButton("退 出", 550, 360, 50, 25, 0)
$Group2 = GUICtrlCreateGroup("菜单切换", 8, 3, 193, 105)
$Button50 = GUICtrlCreateButton ( "系统设置", 15, 25, 85, 30, 0,$WS_EX_TRANSPARENT + $WS_EX_CLIENTEDGE )
$Button51 = GUICtrlCreateButton ( "优化工具", 110, 25, 85, 30, 0,$WS_EX_TRANSPARENT + $WS_EX_CLIENTEDGE )
$Button52 = GUICtrlCreateButton ( "批处理", 15, 68, 85, 30, 0,$WS_EX_TRANSPARENT + $WS_EX_CLIENTEDGE )
$Button53 = GUICtrlCreateButton ( "注册表",110, 68, 85, 30, 0,$WS_EX_TRANSPARENT + $WS_EX_CLIENTEDGE )
GUISetState(@SW_SHOW)
$Form1_1 = GUICreate("系统设置" , 637, 425, -1, -1, -1, -1)
$ButtonExit11 = GUICtrlCreateButton("返 回", 550, 360, 50, 25, 0)
$ty = ("HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogon")
$typsd = ("DefaultPassword")
$psd = RegRead($ty, $typsd)
$SCR = "1"
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $ButtonExit
Exit
Case $Button50
GUISetState(@SW_HIDE, $Form1)
GUISetState(@SW_SHOW, $Form1_1)
Case $Button51
Case $Button52
Case $Button53
Case $ButtonExit11
GUISetState(@SW_HIDE, $Form1_1)
GUISetState(@SW_SHOW, $Form1)
EndSwitch
WEnd
|