Browse Source

Version 0.0.4

pull/17/head
oZ-Zo 6 years ago
parent
commit
a6499a2c0a
  1. 16
      ToggleButtonsGenerator.ps1
  2. BIN
      ToggleButtonsGenerator.txt
  3. 385
      VS/GUI-9/MainWindow.xaml
  4. 6
      VS/Windows-10-Setup-Script/GUI-10/App.config
  5. 9
      VS/Windows-10-Setup-Script/GUI-10/App.xaml
  6. 17
      VS/Windows-10-Setup-Script/GUI-10/App.xaml.cs
  7. 97
      VS/Windows-10-Setup-Script/GUI-10/GUI-10.csproj
  8. 4313
      VS/Windows-10-Setup-Script/GUI-10/MainWindow.xaml
  9. 33
      VS/Windows-10-Setup-Script/GUI-10/MainWindow.xaml.cs
  10. 55
      VS/Windows-10-Setup-Script/GUI-10/Properties/AssemblyInfo.cs
  11. 71
      VS/Windows-10-Setup-Script/GUI-10/Properties/Resources.Designer.cs
  12. 117
      VS/Windows-10-Setup-Script/GUI-10/Properties/Resources.resx
  13. 30
      VS/Windows-10-Setup-Script/GUI-10/Properties/Settings.Designer.cs
  14. 7
      VS/Windows-10-Setup-Script/GUI-10/Properties/Settings.settings
  15. 6
      VS/Windows-10-Setup-Script/Windows-10-Setup-Script.sln
  16. 7554
      Win-10-Setup-Script-GUI.ps1

16
ToggleButtonsGenerator.ps1

@ -16,11 +16,9 @@ if (Test-Path -Path $outFile) {
#region Write Header
@"
######################### $categoryName #########################
<Border Style="{StaticResource ToggleHeaderBorder}">
<StackPanel Orientation="Horizontal">
<TextBlock Name="Header$categoryName" Text="$categoryName" Style="{StaticResource ToggleHeaderTextBlock}"/>
<TextBlock Name="Header_$categoryName" Text="$categoryName" Style="{StaticResource ToggleHeaderTextBlock}"/>
</StackPanel>
</Border>
"@ | Out-File -FilePath $outFile -Append
#endregion Write Header
@ -52,7 +50,7 @@ if (Test-Path -Path $outFile) {
<Style TargetType="{x:Type TextBlock}">
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=$toggleName, Path=IsChecked}" Value="True">
<Setter Property="Foreground" Value="{Binding ElementName=BorderWindow, Path=BorderBrush}"/>
<Setter Property="Foreground" Value="#0078d7"/>
</DataTrigger>
<DataTrigger Binding="{Binding ElementName=$toggleName, Path=IsEnabled}" Value="false">
<Setter Property="Opacity" Value="0.2" />
@ -67,7 +65,15 @@ if (Test-Path -Path $outFile) {
"@ | Out-File -FilePath $outFile -Append
#endregion Write Toggle Buttons
}
}
#region Write Placeholder
@"
<!--#region Category End Placeholder-->
<Border Style="{StaticResource ToggleBorder}"/>
<!--#endregion Category End Placeholder-->
"@ | Out-File -FilePath $outFile -Append
#endregion Write Placeholder
Write-Warning -Message "File ""ToggleButtonsGenerator.txt"" created!"
}

BIN
ToggleButtonsGenerator.txt

Binary file not shown.

385
VS/GUI-9/MainWindow.xaml

@ -5,11 +5,11 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:GUI_9"
mc:Ignorable="d"
Title="Windows 10 Setup Script" Height="850" Width="1120" MinHeight="0" MinWidth="0"
Title="Windows 10 Setup Script" Height="850" Width="1120" MinHeight="850" MinWidth="1120"
Background="#FFFFFF"
FontFamily="Calibri" FontSize="16" TextOptions.TextFormattingMode="Display" WindowStartupLocation="CenterScreen"
FontFamily="Calibri" FontSize="18" TextOptions.TextFormattingMode="Display" WindowStartupLocation="CenterScreen"
SnapsToDevicePixels="True"
ShowInTaskbar="True" Foreground="#464646"
ShowInTaskbar="True" Foreground="#000000"
MouseLeftButtonDown="Window_MouseLeftButtonDown">
<Window.Resources>
@ -65,8 +65,8 @@
<Style x:Key="ToggleBorder" TargetType="Border">
<Setter Property="BorderBrush" Value="#DADADA"/>
<Setter Property="BorderThickness" Value="1 1 1 0"/>
<Setter Property="Margin" Value="0 0 20 0"/>
<Setter Property="BorderThickness" Value="0 1 0 0"/>
<Setter Property="Margin" Value="0 0 0 0"/>
<Setter Property="Background" Value="#FFFFFF"/>
</Style>
@ -76,8 +76,7 @@
<Style x:Key="ToggleHeaderTextBlock" TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Margin" Value="20 0 0 0"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Margin" Value="20 0 0 5"/>
<Setter Property="FontSize" Value="20"/>
</Style>
@ -226,13 +225,146 @@
</Setter>
</Style>
<Style x:Key="ToggleSwitchLeftWhiteStyle" TargetType="{x:Type ToggleButton}">
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Background" Value="{StaticResource RadioButton.Static.Background}"/>
<Setter Property="BorderBrush" Value="#FFFFFF"/>
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="SnapsToDevicePixels" Value="True"/>
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToggleButton}">
<Grid x:Name="templateRoot"
Background="Transparent"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}">
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal"/>
<VisualState x:Name="Pressed">
<Storyboard>
<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="pressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)"/>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="optionMark" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Pressed.Glyph}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled">
<Storyboard>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="checkedBorder" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Disabled.On.Border}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="checkedBorder" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Disabled.On.Background}"/>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="disabledBorder" Storyboard.TargetProperty="(UIElement.Opacity)"/>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="optionMark" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Disabled.Glyph}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="optionMarkOn" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Disabled.On.Glyph}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
<VisualStateGroup x:Name="CheckStates">
<VisualState x:Name="Unchecked"/>
<VisualState x:Name="Checked">
<Storyboard>
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="optionMark" Storyboard.TargetProperty="Fill" Duration="0">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Static.Glyph}"/>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimationUsingKeyFrames Duration="0:0:0.5" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="optionMark">
<EasingDoubleKeyFrame KeyTime="0" Value="12"/>
</DoubleAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="optionMark" Storyboard.TargetProperty="Fill">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Checked.Glyph}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="hoverBorder" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.MouseOver.On.Border}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="hoverBorder" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.MouseOver.On.Background}"/>
</ObjectAnimationUsingKeyFrames>
<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="optionMarkOn" Storyboard.TargetProperty="(UIElement.Opacity)"/>
<DoubleAnimation To="1" Duration="0" Storyboard.TargetName="checkedBorder" Storyboard.TargetProperty="(UIElement.Opacity)"/>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="disabledBorder" Storyboard.TargetProperty="BorderBrush">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Disabled.On.Border}"/>
</ObjectAnimationUsingKeyFrames>
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="disabledBorder" Storyboard.TargetProperty="Background">
<DiscreteObjectKeyFrame KeyTime="0" Value="{StaticResource RadioButton.Disabled.On.Background}"/>
</ObjectAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Indeterminate"/>
</VisualStateGroup>
<VisualStateGroup x:Name="FocusStates">
<VisualState x:Name="Unfocused"/>
<VisualState x:Name="Focused"/>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<ContentPresenter x:Name="contentPresenter"
Focusable="False" RecognizesAccessKey="True"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
Margin="{TemplateBinding Padding}"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>
<Grid x:Name="markGrid" Grid.Row="1" Margin="10 0 10 0" Width="44" Height="20"
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}">
<Border x:Name="normalBorder" Opacity="1" BorderThickness="2" CornerRadius="10"
BorderBrush="{TemplateBinding BorderBrush}" Background="Transparent"/>
<Border x:Name="checkedBorder" Opacity="0" BorderThickness="2" CornerRadius="10"
BorderBrush="#FFFFFF" Background="Transparent"/>
<Border x:Name="hoverBorder" Opacity="0" BorderThickness="2" CornerRadius="10"
BorderBrush="#FFFFFF" Background="Transparent"/>
<Border x:Name="pressedBorder" Opacity="0" BorderThickness="2" CornerRadius="10"
BorderBrush="#FFFFFF" Background="Transparent"/>
<Border x:Name="disabledBorder" Opacity="0" BorderThickness="2" CornerRadius="10"
BorderBrush="{StaticResource RadioButton.Disabled.Border}" Background="{StaticResource RadioButton.Disabled.Background}"/>
<Ellipse x:Name="optionMark"
Height="10" Width="10" Fill="#FFFFFF" StrokeThickness="0"
VerticalAlignment="Center" Margin="5,0" RenderTransformOrigin="0.5,0.5">
<Ellipse.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform X="-12"/>
</TransformGroup>
</Ellipse.RenderTransform>
</Ellipse>
<Ellipse x:Name="optionMarkOn" Opacity="0"
Height="10" Width="10" Fill="#FFFFFF" StrokeThickness="0"
VerticalAlignment="Center" Margin="5,0" RenderTransformOrigin="0.5,0.5">
<Ellipse.RenderTransform>
<TransformGroup>
<ScaleTransform/>
<SkewTransform/>
<RotateTransform/>
<TranslateTransform X="12"/>
</TransformGroup>
</Ellipse.RenderTransform>
</Ellipse>
</Grid>
</Grid>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="ViewboxActionButton" TargetType="{x:Type Viewbox}">
<Setter Property="Width" Value="24"/>
<Setter Property="Height" Value="24"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="HorizontalAlignment" Value="Left"/>
<Setter Property="Margin" Value="5 0 7 3"/>
</Style>
</Style>
<Style x:Key="ViewboxFooter" TargetType="{x:Type Viewbox}">
<Setter Property="Width" Value="22"/>
@ -242,6 +374,12 @@
<Setter Property="Margin" Value="5 0 5 0"/>
</Style>
<Style x:Key="TextblockActionButton" TargetType="TextBlock">
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontWeight" Value="Bold"/>
</Style>
</Window.Resources>
<Grid>
@ -252,11 +390,12 @@
</Grid.RowDefinitions>
<!--#region Action Button-->
<DockPanel Name="PanelActionButton" Grid.Row="0" Background="#0078d7" Margin="0 0 0 5" >
<DockPanel.Effect>
<Grid Name="PanelActionButton" Grid.Row="0" Background="#0078d7" Margin="0 0 0 5" >
<Grid.Effect>
<DropShadowEffect ShadowDepth="2" Direction="315" BlurRadius="3" Opacity="0.5"/>
</DockPanel.Effect>
</Grid.Effect>
<!--#region Category Button-->
<StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center" >
<!--#region Privacy & Telemetry Button-->
@ -274,7 +413,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="180" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="160" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -319,7 +458,7 @@
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Privacy" Text="Privacy &amp; Telemetry" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Privacy, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Privacy" Text="Privacy &amp; Telemetry" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Privacy, Path=Fill}"/>
</StackPanel>
<!--#endregion Privacy & Telemetry Button-->
@ -338,7 +477,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="180" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="165" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -382,7 +521,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Ui" Text="UI &amp; Personalization" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Ui, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Ui" Text="UI &amp; Personalization" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Ui, Path=Fill}"/>
</StackPanel>
<!--#endregion UI & Personalization Button-->
@ -401,7 +540,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="115" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="100" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -445,7 +584,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_OneDrive" Text="OneDrive" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_OneDrive, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_OneDrive" Text="OneDrive" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_OneDrive, Path=Fill}"/>
</StackPanel>
<!--#endregion OneDrive Button-->
@ -464,7 +603,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="100" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="90" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -508,7 +647,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_System" Text="System" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_System, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_System" Text="System" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_System, Path=Fill}"/>
</StackPanel>
<!--#endregion System Button-->
@ -527,7 +666,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="125" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="115" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -571,7 +710,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_StartMenu" Text="Start Menu" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_StartMenu, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_StartMenu" Text="Start Menu" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_StartMenu, Path=Fill}"/>
</StackPanel>
<!--#endregion Start Menu Button-->
@ -590,7 +729,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="150" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="140" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -634,7 +773,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Edge" Text="Microsoft Edge" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Edge, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Edge" Text="Microsoft Edge" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Edge, Path=Fill}"/>
</StackPanel>
<!--#endregion Microsoft Edge Button-->
@ -653,7 +792,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="120" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="110" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -697,7 +836,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Uwp" Text="UWP Apps" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Uwp, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Uwp" Text="UWP Apps" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Uwp, Path=Fill}"/>
</StackPanel>
<!--#endregion UWP Apps Button-->
@ -716,7 +855,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="230" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="205" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -760,7 +899,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Game" Text="Windows Game Recording" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Game, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Game" Text="Windows Game Recording" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Game, Path=Fill}"/>
</StackPanel>
<!--#endregion Windows Game Recording Button-->
@ -779,7 +918,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="160" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="140" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -823,7 +962,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Tasks" Text="Scheduled Tasks" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Tasks, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Tasks" Text="Scheduled Tasks" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Tasks, Path=Fill}"/>
</StackPanel>
<!--#endregion Scheduled Tasks Button-->
@ -842,7 +981,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="180" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="160" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -886,7 +1025,7 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Defender" Text="Microsoft Defender" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Defender, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Defender" Text="Microsoft Defender" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Defender, Path=Fill}"/>
</StackPanel>
<!--#endregion Microsoft Defender Button-->
@ -905,7 +1044,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="145" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="135" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -949,11 +1088,11 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_ContextMenu" Text="Context Menu" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_ContextMenu, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_ContextMenu" Text="Context Menu" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_ContextMenu, Path=Fill}"/>
</StackPanel>
<!--#endregion Context Menu Button-->
<!--#endregion Context Menu Button-->
<!--#region Context Menu Button-->
<!--#region Save Button-->
<StackPanel Name="ButtonAction_Save" Margin="0 0 10 0" Height="48" Width="35" Orientation="Horizontal" >
<StackPanel.Style>
<Style TargetType="{x:Type StackPanel}">
@ -968,7 +1107,7 @@
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="135" SpeedRatio="3"/>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="125" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
@ -1012,25 +1151,177 @@
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Save" Text="Save Settings" FontWeight="Bold" Foreground="{Binding ElementName=PathAction_Save, Path=Fill}" VerticalAlignment="Center"/>
<TextBlock Name="ButtonText_Save" Text="Save Settings" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Save, Path=Fill}"/>
</StackPanel>
<!--#endregion Context Menu Button-->
<!--#endregion Save Button-->
<!--#region Load Button-->
<StackPanel Name="ButtonAction_Load" Margin="0 0 10 0" Height="48" Width="35" Orientation="Horizontal" >
<StackPanel.Style>
<Style TargetType="{x:Type StackPanel}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#FFFFFF"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="False">
<Setter Property="Background" Value="{Binding ElementName=PanelActionButton, Path=Background}"/>
</Trigger>
<EventTrigger RoutedEvent="MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="125" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
<EventTrigger RoutedEvent="MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="35" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
<EventTrigger RoutedEvent="MouseDown">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<ThicknessAnimation Storyboard.TargetProperty="Margin" Duration="0:0:1" From="0 0 10 0" To="0 5 10 0" SpeedRatio="5" AutoReverse="True" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</Style.Triggers>
</Style>
</StackPanel.Style>
<Viewbox Style="{StaticResource ViewboxActionButton}" Margin="5 0 7 0">
<Canvas Width="24" Height="24">
<Path Name="PathAction_Load" Data="M7.5,5.6L5,7L6.4,4.5L5,2L7.5,3.4L10,2L8.6,4.5L10,7L7.5,5.6M19.5,15.4L22,14L20.6,16.5L22,19L19.5,17.6L17,19L18.4,16.5L17,14L19.5,15.4M22,2L20.6,4.5L22,7L19.5,5.6L17,7L18.4,4.5L17,2L19.5,3.4L22,2M13.34,12.78L15.78,10.34L13.66,8.22L11.22,10.66L13.34,12.78M14.37,7.29L16.71,9.63C17.1,10 17.1,10.65 16.71,11.04L5.04,22.71C4.65,23.1 4,23.1 3.63,22.71L1.29,20.37C0.9,20 0.9,19.35 1.29,18.96L12.96,7.29C13.35,6.9 14,6.9 14.37,7.29Z">
<Path.Style>
<Style TargetType="{x:Type Path}">
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=ButtonAction_Load, Path=IsMouseOver}" Value="True">
<Setter Property="Fill" Value="{Binding ElementName=PanelActionButton, Path=Background}"/>
</DataTrigger>
<DataTrigger Binding="{Binding ElementName=ButtonAction_Load, Path=IsMouseOver}" Value="False">
<Setter Property="Fill" Value="#FFFFFF"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Path.Style>
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Load" Text="Load Settings" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Load, Path=Fill}"/>
</StackPanel>
<!--#endregion Load Button-->
<!--#region Apply Button-->
<StackPanel Name="ButtonAction_Apply" Margin="0 0 10 0" Height="48" Width="35" Orientation="Horizontal" >
<StackPanel.Style>
<Style TargetType="{x:Type StackPanel}">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#FFFFFF"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="False">
<Setter Property="Background" Value="{Binding ElementName=PanelActionButton, Path=Background}"/>
</Trigger>
<EventTrigger RoutedEvent="MouseEnter">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="130" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
<EventTrigger RoutedEvent="MouseLeave">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<DoubleAnimation Storyboard.TargetProperty="Width" Duration="0:0:1" To="35" SpeedRatio="3"/>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
<EventTrigger RoutedEvent="MouseDown">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<ThicknessAnimation Storyboard.TargetProperty="Margin" Duration="0:0:1" From="0 0 10 0" To="0 5 10 0" SpeedRatio="5" AutoReverse="True" />
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
</Style.Triggers>
</Style>
</StackPanel.Style>
<Viewbox Style="{StaticResource ViewboxActionButton}" Margin="5 0 7 0">
<Canvas Width="24" Height="24">
<Path Name="PathAction_Apply" Data="M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z">
<Path.Style>
<Style TargetType="{x:Type Path}">
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=ButtonAction_Apply, Path=IsMouseOver}" Value="True">
<Setter Property="Fill" Value="{Binding ElementName=PanelActionButton, Path=Background}"/>
</DataTrigger>
<DataTrigger Binding="{Binding ElementName=ButtonAction_Apply, Path=IsMouseOver}" Value="False">
<Setter Property="Fill" Value="#FFFFFF"/>
</DataTrigger>
</Style.Triggers>
</Style>
</Path.Style>
</Path>
</Canvas>
</Viewbox>
<TextBlock Name="ButtonText_Apply" Text="Apply Settings" Style="{StaticResource TextblockActionButton}" Foreground="{Binding ElementName=PathAction_Apply, Path=Fill}"/>
</StackPanel>
<!--#endregion Apply Button-->
</StackPanel>
<!--#endregion Category Button-->
<!--#region Change Language Toggle-->
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="20 0 0 0">
<Grid>
<ToggleButton Name="ToggleSwitch_Language" Style="{DynamicResource ToggleSwitchLeftWhiteStyle}" IsChecked="False"/>
<TextBlock Name="TextBlock_Language" FontWeight="Bold" Foreground="#FFFFFF" Margin="65 2 10 0" VerticalAlignment="Center" IsHitTestVisible="False">
<TextBlock.Style>
<Style TargetType="{x:Type TextBlock}">
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=ToggleSwitch_Language, Path=IsChecked}" Value="True">
<Setter Property="Text" Value="RU"/>
<Setter Property="Foreground" Value="{Binding ElementName=BorderWindow, Path=BorderBrush}"/>
</DataTrigger>
<DataTrigger Binding="{Binding ElementName=ToggleSwitch_Language, Path=IsChecked}" Value="false">
<Setter Property="Text" Value="EN"/>
<Setter Property="Foreground" Value="{Binding ElementName=BorderWindow, Path=BorderBrush}"/>
</DataTrigger>
<DataTrigger Binding="{Binding ElementName=ToggleSwitch_Language, Path=IsEnabled}" Value="false">
<Setter Property="Opacity" Value="0.2" />
</DataTrigger>
</Style.Triggers>
</Style>
</TextBlock.Style>
</TextBlock>
</Grid>
</StackPanel>
</DockPanel>
<!--#endregion Change Language Toggle-->
</Grid>
<!--#endregion Action Button-->
<!--#region Toggle Button-->
<ScrollViewer Name="ScrollToggle" Grid.Row="1" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto">
<StackPanel Orientation="Vertical" Margin="10">
<StackPanel Orientation="Vertical" Margin="0">
<!--#region Privacy & Telemetry-->
<Border Style="{StaticResource ToggleHeaderBorder}">
<StackPanel Orientation="Horizontal">
<TextBlock Name="HeaderPrivacy" Text="Privacy &amp; Telemetry" Style="{StaticResource ToggleHeaderTextBlock}"/>
</StackPanel>
</Border>
<StackPanel Orientation="Horizontal" >
<TextBlock Name="Header_Privacy" Text="Privacy &amp; Telemetry" Style="{StaticResource ToggleHeaderTextBlock}"/>
</StackPanel>
<Border Style="{StaticResource ToggleBorder}">
<StackPanel Orientation="Horizontal" Margin="5">
<Grid HorizontalAlignment="Left">
@ -1040,7 +1331,7 @@
<Style TargetType="{x:Type TextBlock}">
<Style.Triggers>
<DataTrigger Binding="{Binding ElementName=ToggleSwitch_Privacy_0, Path=IsChecked}" Value="True">
<Setter Property="Foreground" Value="{Binding ElementName=BorderWindow, Path=BorderBrush}"/>
<Setter Property="Foreground" Value="{Binding ElementName=PanelActionButton, Path=Background}"/>
</DataTrigger>
<DataTrigger Binding="{Binding ElementName=ToggleSwitch_Privacy_0, Path=IsEnabled}" Value="false">
<Setter Property="Opacity" Value="0.2" />

6
VS/Windows-10-Setup-Script/GUI-10/App.config

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>

9
VS/Windows-10-Setup-Script/GUI-10/App.xaml

@ -0,0 +1,9 @@
<Application x:Class="GUI_10.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:GUI_10"
StartupUri="MainWindow.xaml">
<Application.Resources>
</Application.Resources>
</Application>

17
VS/Windows-10-Setup-Script/GUI-10/App.xaml.cs

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace GUI_10
{
/// <summary>
/// Логика взаимодействия для App.xaml
/// </summary>
public partial class App : Application
{
}
}

97
VS/Windows-10-Setup-Script/GUI-10/GUI-10.csproj

@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{90D4CBC4-B11D-4827-9827-9122F0B1FA3D}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>GUI_10</RootNamespace>
<AssemblyName>GUI-10</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<WarningLevel>4</WarningLevel>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xaml">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="WindowsBase" />
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
</ItemGroup>
<ItemGroup>
<ApplicationDefinition Include="App.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</ApplicationDefinition>
<Page Include="MainWindow.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
<Compile Include="MainWindow.xaml.cs">
<DependentUpon>MainWindow.xaml</DependentUpon>
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

4313
VS/Windows-10-Setup-Script/GUI-10/MainWindow.xaml

File diff suppressed because it is too large

33
VS/Windows-10-Setup-Script/GUI-10/MainWindow.xaml.cs

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace GUI_10
{
/// <summary>
/// Логика взаимодействия для MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
DragMove();
}
}
}

55
VS/Windows-10-Setup-Script/GUI-10/Properties/AssemblyInfo.cs

@ -0,0 +1,55 @@
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Общие сведения об этой сборке предоставляются следующим набором
// набора атрибутов. Измените значения этих атрибутов, чтобы изменить сведения,
// связанные со сборкой.
[assembly: AssemblyTitle("GUI-10")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("GUI-10")]
[assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми
// для компонентов COM. Если необходимо обратиться к типу в этой сборке через
// COM, задайте атрибуту ComVisible значение TRUE для этого типа.
[assembly: ComVisible(false)]
//Чтобы начать создание локализуемых приложений, задайте
//<UICulture>CultureYouAreCodingWith</UICulture> в файле .csproj
//внутри <PropertyGroup>. Например, если используется английский США
//в своих исходных файлах установите <UICulture> в en-US. Затем отмените преобразование в комментарий
//атрибута NeutralResourceLanguage ниже. Обновите "en-US" в
//строка внизу для обеспечения соответствия настройки UICulture в файле проекта.
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //где расположены словари ресурсов по конкретным тематикам
//(используется, если ресурс не найден на странице,
// или в словарях ресурсов приложения)
ResourceDictionaryLocation.SourceAssembly //где расположен словарь универсальных ресурсов
//(используется, если ресурс не найден на странице,
// в приложении или в каких-либо словарях ресурсов для конкретной темы)
)]
// Сведения о версии сборки состоят из следующих четырех значений:
//
// Основной номер версии
// Дополнительный номер версии
// Номер сборки
// Редакция
//
// Можно задать все значения или принять номер сборки и номер редакции по умолчанию.
// используя "*", как показано ниже:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

71
VS/Windows-10-Setup-Script/GUI-10/Properties/Resources.Designer.cs

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программным средством.
// Версия среды выполнения: 4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильному поведению и будут утрачены, если
// код создан повторно.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GUI_10.Properties
{
/// <summary>
/// Класс ресурсов со строгим типом для поиска локализованных строк и пр.
/// </summary>
// Этот класс был автоматически создан при помощи StronglyTypedResourceBuilder
// класс с помощью таких средств, как ResGen или Visual Studio.
// Для добавления или удаления члена измените файл .ResX, а затем перезапустите ResGen
// с параметром /str или заново постройте свой VS-проект.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Возврат кэшированного экземпляра ResourceManager, используемого этим классом.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GUI_10.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Переопределяет свойство CurrentUICulture текущего потока для всех
/// подстановки ресурсов с помощью этого класса ресурсов со строгим типом.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

117
VS/Windows-10-Setup-Script/GUI-10/Properties/Resources.resx

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

30
VS/Windows-10-Setup-Script/GUI-10/Properties/Settings.Designer.cs

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GUI_10.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

7
VS/Windows-10-Setup-Script/GUI-10/Properties/Settings.settings

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

6
VS/Windows-10-Setup-Script/Windows-10-Setup-Script.sln

@ -21,6 +21,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI-8", "..\GUI-8\GUI-8.csp
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI-9", "..\GUI-9\GUI-9.csproj", "{FA984783-4BE2-4DB4-BE94-B6FC46C057D5}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GUI-10", "GUI-10\GUI-10.csproj", "{90D4CBC4-B11D-4827-9827-9122F0B1FA3D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -63,6 +65,10 @@ Global
{FA984783-4BE2-4DB4-BE94-B6FC46C057D5}.Debug|Any CPU.Build.0 = Debug|Any CPU
{FA984783-4BE2-4DB4-BE94-B6FC46C057D5}.Release|Any CPU.ActiveCfg = Release|Any CPU
{FA984783-4BE2-4DB4-BE94-B6FC46C057D5}.Release|Any CPU.Build.0 = Release|Any CPU
{90D4CBC4-B11D-4827-9827-9122F0B1FA3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{90D4CBC4-B11D-4827-9827-9122F0B1FA3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{90D4CBC4-B11D-4827-9827-9122F0B1FA3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{90D4CBC4-B11D-4827-9827-9122F0B1FA3D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

7554
Win-10-Setup-Script-GUI.ps1

File diff suppressed because it is too large
Loading…
Cancel
Save