$ClCustomizeFeatures=New-Label-Text"Customize System Features"-Width$LayoutT1.PanelElementWidth-Height$LayoutT1.CaptionLabelHeight-LocationX$LayoutT1.PanelElementX-FontSize $LayoutT1.Heading[2]-FontStyle'Bold'-ElementBefore$CbAutomaticWindowsUpdate-MarginTop$LayoutT1.DistanceBetweenElements
$CbDarkTheme=New-CheckBox-Text"Enable Dark Theme"-Width$LayoutT1.PanelElementWidth-Height$LayoutT1.CheckBoxHeight-LocationX$LayoutT1.PanelElementX-FontSize$LayoutT1.Heading[3]-ElementBefore$ClCustomizeFeatures-MarginTop$LayoutT1.DistanceBetweenElements
$ClCustomizeFeatures=New-Label-Text"Customize System Features"-Width$LayoutT1.PanelElementWidth-Height$LayoutT1.CaptionLabelHeight-LocationX$LayoutT1.PanelElementX-LocationY 0-FontSize $LayoutT1.Heading[2]-FontStyle'Bold'
$CbDarkTheme=New-CheckBox-Text"Enable Dark Theme"-Width$LayoutT1.PanelElementWidth-Height$LayoutT1.CheckBoxHeight-LocationX$LayoutT1.PanelElementX-FontSize$LayoutT1.Heading[3]-ElementBefore$ClCustomizeFeatures
$CbAutomaticWindowsUpdate=New-CheckBox-Text"Enable Automatic Windows Update"-Width$LayoutT1.PanelElementWidth-Height$LayoutT1.CheckBoxHeight-LocationX$LayoutT1.PanelElementX-FontSize$LayoutT1.Heading[3]-ElementBefore$ClWindowsUpdate-MarginTop$LayoutT1.DistanceBetweenElements
$CbAutomaticWindowsUpdate=New-CheckBox-Text"Enable Automatic Windows Update"-Width$LayoutT1.PanelElementWidth-Height$LayoutT1.CheckBoxHeight-LocationX$LayoutT1.PanelElementX-FontSize$LayoutT1.Heading[3]-ElementBefore$ClWindowsUpdate