#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <StaticConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("HA-Tool",500,500, 192, 122)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

GUICtrlCreatePic(@ScriptDir & "\background.jpg",0,0,500,500)
GUICtrlSetState(-1,$GUI_DISABLE)
GUICtrlCreateLabel("Hallo! Klicke auf einen Tag, um dir die Hausaufgaben anzeigen zu lassen.",50,30,400)
GUICtrlSetFont(-1,9.5,400,0,"Cambria")
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlCreateLabel("Diese Woche",80,100,100)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,4,"Calibri")
GUICtrlCreateLabel("Nächste Woche",320,100,100)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,4,"Calibri")

$11=GUICtrlCreateButton("Montag",75,150,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$12=GUICtrlCreateButton("Dienstag",75,200,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$13=GUICtrlCreateButton("Mittwoch",75,250,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$14=GUICtrlCreateButton("Donnerstag",75,300,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$15=GUICtrlCreateButton("Freitag",75,350,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$21=GUICtrlCreateButton("Montag",320,150,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$22=GUICtrlCreateButton("Dienstag",320,200,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$23=GUICtrlCreateButton("Mittwoch",320,250,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$24=GUICtrlCreateButton("Donnerstag",320,300,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")
$25=GUICtrlCreateButton("Freitag",320,350,80)
GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
GUICtrlSetFont(-1,9,400,0,"Calibri")

While 1
$msg=GUIGetMsg()
			If $msg=$11 Then
				IniReadSection(@ScriptDir & "\11.ini","ha","ha","NotFound")=$11ini
				GUICreate("Hausaufgaben",200,200)
				GUICtrlCreateLabel("Du hast zu Montag folgendes auf:" & $11ini,50,50)
			If $msg=$12 Then Run("Notepad.exe")
			If $msg=$13 Then Run("Notepad.exe")
			If $msg=$14 Then Run("Notepad.exe")
			If $msg=$15 Then Run("Notepad.exe")
			If $msg=$21 Then Run("Notepad.exe")
			If $msg=$22 Then Run("Notepad.exe")
			If $msg=$23 Then Run("Notepad.exe")
			If $msg=$24 Then Run("Notepad.exe")
			If $msg=$25 Then Run("Notepad.exe")
			If $msg=$25 Then Run("Notepad.exe")
			If $msg=$GUI_EVENT_CLOSE Then ExitLoop
			WEnd



