#Solved Thanks To ►D3v1n3r
Quote:
Code:#RequireAdmin #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form2 = GUICreate("", 496, 143, -1, -1) $Input1 = GUICtrlCreateInput("", 232, 88, 121, 21, BitOR($GUI_SS_DEFAULT_INPUT,$ES_CENTER)) $Button2 = GUICtrlCreateButton("Back", 240, 112, 107, 25) #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 621, 357, -1, -1) $Button1 = GUICtrlCreateButton("Show", 24, 40, 131, 25) GUISetState(@SW_SHOW) #EndRegion While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 GUISetState(@SW_Hide, "S4Client.exe") GUISetState(@SW_SHOW, $Form2) Case $Button2 GUISetState(@SW_Hide, "S4Client.exe") GUISetState(@SW_SHOW, $Form1) EndSwitch WEnd