TraySetState(2)
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("00000", 350, 500, 100, 100)
$Button1 = GUICtrlCreateButton("11111", 0, 0, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Button2 = GUICtrlCreateButton("22222", 0, 40, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Button3 = GUICtrlCreateButton("33333", 0, 80, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Button4 = GUICtrlCreateButton("44444", 0, 120, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Button5 = GUICtrlCreateButton("55555", 0, 160, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Edit1 = GUICtrlCreateEdit("", 0, 200, 373, 320)
GUICtrlSetData(-1, "Edit1"& @crlf & "123")
GUICtrlSetFont(-1, 12, 800, 0, "")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Select
Case $nMsg = $GUI_EVENT_CLOSE
Exit
Case $nMsg = $Button1
Case $nMsg = $Button2
Case $nMsg = $Button3
Case $nMsg = $Button4
Case $nMsg = $Button5
$Form2 = GUICreate("模组安装", 350, 500, 100, 100)
$Button6 = GUICtrlCreateButton("模组A", 0, 0, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Button7 = GUICtrlCreateButton("模组B", 0, 40, 350, 40)
GUICtrlSetFont(-1, 16, 800, 0, "")
$Edit2 = GUICtrlCreateEdit("", 0, 200, 373, 320)
GUICtrlSetData(-1, "Edit1"& @crlf & "123")
GUICtrlSetFont(-1, 12, 800, 0, "")
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Select
Case $nMsg = $GUI_EVENT_CLOSE
Exit
Case $nMsg = $Button6
Run("")
Case $nMsg = $Button7
EndSelect
WEnd
EndSelect
WEnd
想请问要如何修改