Tyleo-Dev-AutoIT-Oldies/NAG Leo/NAG Leo - Control.au3

49 lines
1.5 KiB
AutoIt
Raw Normal View History

2024-02-18 21:17:39 +00:00
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=SupervisionNAGLeo_stop.ico
#AutoIt3Wrapper_Outfile_x64=..\..\Logiciels\NAGLeo\NAG_Stop.Exe
#AutoIt3Wrapper_Res_Comment=NAGLeo - Stop
#AutoIt3Wrapper_Res_Description=NAGLeo - Stop
#AutoIt3Wrapper_Res_Fileversion=1.0.0.4
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_ProductName=NAGLeo - Stop
#AutoIt3Wrapper_Res_ProductVersion=1.0.0.0
#AutoIt3Wrapper_Res_CompanyName=Tyleo Softwares
#AutoIt3Wrapper_Res_LegalCopyright=Tyleo Softwares
#AutoIt3Wrapper_Res_LegalTradeMarks=Tyleo Softwares
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include "MetroGUI-UDF\MetroGUI_UDF.au3"
#include "Extensions.au3"
GetSoftDetails(@AutoItExe,"DEV")
#cs
Tyleo Software Project Base v1
Created With CNP and DevTools Base Folder
All Softwares created with this base are Free and Open Sourced.
Join our Guilded Server ! https://www.guilded.gg/i/2DRlM7Mp
#ce
#Region ### START Koda GUI section ### Form=
Global $Form2 = GUICreate("", 169, 47, 302, 218)
GUISetBkColor($CurrentAccent,$Form2)
Global $Button1 = GUICtrlCreateButton("STOP", 8, 8, 153, 33)
GUICtrlSetFont(-1, 20, 400, 0, "Segoe UI")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While ProcessExists("NAG.exe")
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
ProcessClose("NAG.exe")
Exit
Case $Button1
ProcessClose("NAG.exe")
EndSwitch
WEnd