#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=
$frmAssistent = GUICreate("Test Assistent", 427, 302, 193, 125, 0)
$Tab1 = GUICtrlCreateTab(0, -22, 425, 321)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
$TabSheet1 = GUICtrlCreateTabItem("TabSheet1")
$Button1 = GUICtrlCreateButton("Weiter", 306, 241, 89, 25, 0)
$Label1 = GUICtrlCreateLabel("Schritt 1", 10, 9, 72, 24)
GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif")
$Label5 = GUICtrlCreateLabel("Beispieltext1", 55, 65, 60, 17)
$Radio1 = GUICtrlCreateRadio("asdfsadfas", 146, 97, 137, 17)
$Radio2 = GUICtrlCreateRadio("Radasdfsadfio1", 146, 121, 137, 17)
$Radio3 = GUICtrlCreateRadio("adfasdfsadf", 146, 145, 137, 17)
$TabSheet2 = GUICtrlCreateTabItem("TabSheet2")
$Button2 = GUICtrlCreateButton("Weiter", 306, 241, 89, 25, 0)
$Label2 = GUICtrlCreateLabel("Schritt 2", 10, 9, 72, 24)
GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif")
$Radio4 = GUICtrlCreateRadio("Radadsfsadfasio1", 146, 97, 137, 17)
$Radio5 = GUICtrlCreateRadio("asass", 146, 121, 137, 17)
$Radio6 = GUICtrlCreateRadio("adfsadfasd", 146, 145, 137, 17)
$Label6 = GUICtrlCreateLabel("Beispieltext2", 55, 65, 60, 17)
$TabSheet3 = GUICtrlCreateTabItem("TabSheet3")
$Button3 = GUICtrlCreateButton("Weiter", 306, 241, 89, 25, 0)
$Label3 = GUICtrlCreateLabel("Schritt 3", 10, 9, 72, 24)
GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif")
$Radio7 = GUICtrlCreateRadio("asdfsadfasdfa", 146, 97, 137, 17)
$Radio8 = GUICtrlCreateRadio("asdfsadfas", 146, 121, 137, 17)
$Radio9 = GUICtrlCreateRadio("wwwewewe", 146, 145, 137, 17)
$Label7 = GUICtrlCreateLabel("Beispieltext3", 55, 65, 60, 17)
$TabSheet4 = GUICtrlCreateTabItem("TabSheet4")
$Button4 = GUICtrlCreateButton("Fertigstellen", 306, 241, 89, 25, 0)
$Label4 = GUICtrlCreateLabel("Schritt 4", 10, 9, 72, 24)
GUICtrlSetFont(-1, 12, 800, 0, "MS Sans Serif")
$Radio10 = GUICtrlCreateRadio("asdfasdfasdf", 146, 97, 137, 17)
$Radio11 = GUICtrlCreateRadio("asdfasdf", 146, 121, 137, 17)
$Radio12 = GUICtrlCreateRadio("dccdddddddddddd", 146, 145, 137, 17)
$Label8 = GUICtrlCreateLabel("Beispieltext4", 55, 65, 60, 17)
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button1
GUICtrlSetState($TabSheet2,$GUI_SHOW)
Case $Button2
GUICtrlSetState($TabSheet3,$GUI_SHOW)
Case $Button3
GUICtrlSetState($TabSheet4,$GUI_SHOW)
Case $Button4
Exit
EndSwitch
WEnd