#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <GUIListBox.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <EditConstants.au3>
#include <Programmpfadübergabe.au3>
;===============================================================
;========================= SuperSerial =========================
;=============== Programme einfach verschlüsseln! ==============
;===============================================================
Global $Programmpfad
If @error Then
MsgBox(16,"Fehler!","Keine Datei ausgewählt!")
EndIf
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("SuperSerial", 295, 177, 192, 125)
$Label1 = GUICtrlCreateLabel("Bisher gespeicherte Verschlüsselungen:", 8, 16, 192, 17)
$List1 = GUICtrlCreateList("", 8, 48, 121, 123)
$Button1 = GUICtrlCreateButton("Hilfe/Info", 136, 144, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Neu", 216, 144, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
;TRENNBALKEN----------------------------------------------------
#Region ### START Koda GUI section ### Form=
$Form2 = GUICreate("SuperSerial - Neue Serial", 341, 147, 192, 124)
$Label2 = GUICtrlCreateLabel("Name:", 8, 8, 35, 17)
$Input1 = GUICtrlCreateInput("", 48, 8, 289, 21)
$Label3 = GUICtrlCreateLabel("Serialnummer*:", 8, 32, 74, 17)
$Input2 = GUICtrlCreateInput("", 88, 32, 249, 21)
$Label4 = GUICtrlCreateLabel("Programmpfad:", 8, 56, 75, 17)
$Input3 = GUICtrlCreateInput("", 88, 56, 225, 21)
GUICtrlSetState(-1, $GUI_DISABLE)
$Button3 = GUICtrlCreateButton("...", 312, 56, 27, 25, $WS_GROUP)
$Checkbox1 = GUICtrlCreateCheckbox("Programm nach beendigung starten", 8, 80, 193, 17)
$Label5 = GUICtrlCreateLabel("*Beliebige Kombination zwischen 0-10 und A-Z, ohne Sonderzeichen", 0, 96, 328, 17)
$OK = GUICtrlCreateButton("OK", 264, 120, 75, 25, $WS_GROUP)
GUISetState(@SW_HIDE)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
MsgBox(64,"Hilfe/Info:","Auf ""Neu"" klicken, um eine neue Serialverschlüsselung zu erstellen!" & @CRLF & "Created by <button421>onautoit.de<\button421>")
Case $Button2
GUISetState(@SW_SHOW, $Form2)
Case $Button3
;?
EndSwitch
WEnd