winutil/MainWindow.xaml
ChrisTitusTech 59688d367c Initial
2022-04-27 22:42:07 -05:00

126 lines
9.9 KiB
XML

<Window x:Class="WinUtility.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WinUtility"
mc:Ignorable="d"
Background="#777777"
Title="Chris Titus Tech's Windows Utility" Height="450" Width="800">
<Viewbox>
<Grid Background="#777777" ShowGridLines="False" Name="MainGrid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*"/>
<ColumnDefinition Width="7*"/>
</Grid.ColumnDefinitions>
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0">
<Image Height="100" Width="170" Name="Icon" SnapsToDevicePixels="True" Source="https://github.com/ChrisTitusTech/win10script/raw/master/titus-toolbox.png" Margin="0,10,0,10"/>
<Button Content="Install" VerticalAlignment="Top" Height="40" Background="#222222" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab1BT"/>
<Button Content="Tweaks" VerticalAlignment="Top" Height="40" Background="#333333" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab2BT"/>
<Button Content="Config" VerticalAlignment="Top" Height="40" Background="#444444" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab3BT"/>
<Button Content="Updates" VerticalAlignment="Top" Height="40" Background="#555555" BorderThickness="0,0,0,0" FontWeight="Bold" Foreground="#ffffff" Name="Tab4BT"/>
</StackPanel>
<TabControl Grid.Column="1" Padding="-1" Name="TabNav" SelectedIndex="0">
<TabItem Header="Install" Visibility="Collapsed" Name="Tab1">
<Grid Background="#222222">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="0" Margin="10">
<Label Content="Browsers" FontSize="16" Margin="5,0"/>
<CheckBox Name="brave" Content="Brave" Margin="5,0"/>
<CheckBox Name="chrome" Content="Google Chrome" Margin="5,0"/>
<CheckBox Name="firefox" Content="Firefox" Margin="5,0"/>
<Label Content="Document Tools" FontSize="16" Margin="5,0"/>
<CheckBox Name="adobe" Content="Adobe Reader DC" Margin="5,0"/>
<CheckBox Name="notepadplus" Content="Notepad++" Margin="5,0"/>
<CheckBox Name="sumatra" Content="Sumatra PDF" Margin="5,0"/>
<CheckBox Name="vscode" Content="VS Code" Margin="5,0"/>
<CheckBox Name="vscodium" Content="VS Codium" Margin="5,0"/>
<Label Content="Video and Image Tools" FontSize="16" Margin="5,0"/>
<CheckBox Name="gimp" Content="GIMP (Image Editor)" Margin="5,0"/>
<CheckBox Name="imageglass" Content="ImageGlass (Image Viewer)" Margin="5,0"/>
<CheckBox Name="mpc" Content="Media Player Classic (Video Player)" Margin="5,0"/>
<CheckBox Name="sharex" Content="ShareX (Screenshots)" Margin="5,0"/>
<CheckBox Name="vlc" Content="VLC (Video Player)" Margin="5,0,5,5"/>
</StackPanel>
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Column="1" Margin="10">
<Label Content="Utilities" FontSize="16" Margin="5,0"/>
<CheckBox Name="sevenzip" Content="7-Zip" Margin="5,0"/>
<CheckBox Name="advancedip" Content="Advanced IP Scanner" Margin="5,0"/>
<CheckBox Name="autohotkey" Content="AutoHotkey" Margin="5,0"/>
<CheckBox Name="discord" Content="Discord" Margin="5,0"/>
<CheckBox Name="etcher" Content="Etcher USB Creator" Margin="5,0"/>
<CheckBox Name="esearch" Content="Everything Search" Margin="5,0"/>
<CheckBox Name="githubdesktop" Content="GitHub Desktop" Margin="5,0"/>
<CheckBox Name="powertoys" Content="Microsoft Powertoys" Margin="5,0"/>
<CheckBox Name="putty" Content="Putty and WinSCP" Margin="5,0"/>
<CheckBox Name="ttaskbar" Content="Translucent Taskbar" Margin="5,0"/>
<CheckBox Name="terminal" Content="Windows Terminal" Margin="5,0"/>
<Button Name="install" Background="AliceBlue" Content="Start Install" Margin="20"/>
</StackPanel>
</Grid>
</TabItem>
<TabItem Header="Tweaks" Visibility="Collapsed" Name="Tab2">
<Grid Background="#333333">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="6*"/>
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center" Grid.ColumnSpan="2">
<Button Name="desktop" Content="Desktop" Margin="5"/>
<Button Name="laptop" Content="Laptop" Margin="5"/>
<Button Name="minimal" Content="Minimal" Margin="5"/>
</StackPanel>
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="0" Margin="10,5">
<Label FontSize="16" Content="Essential Tweaks"/>
<CheckBox Name="EssTweaksRP" Content="Create Restore Point" Margin="5,0"/>
<CheckBox Name="EssTweaksOO" Content="Run O and O Shutup" Margin="5,0"/>
<CheckBox Name="EssTweaksTele" Content="Disable Telemetry" Margin="5,0"/>
<CheckBox Name="EssTweaksWifi" Content="Disable Wifi-Sense" Margin="5,0"/>
<CheckBox Name="EssTweaksAH" Content="Disable Activity History" Margin="5,0"/>
<CheckBox Name="EssTweaksLoc" Content="Disable Location Tracking" Margin="5,0"/>
<CheckBox Name="EssTweaksHome" Content="Disable Homegroup" Margin="5,0"/>
<CheckBox Name="EssTweaksStorage" Content="Disable Storage Sense" Margin="5,0"/>
<CheckBox Name="EssTweaksHiber" Content="Disable Hibernation" Margin="5,0"/>
<CheckBox Name="EssTweaksDVR" Content="Disable GameDVR" Margin="5,0"/>
<CheckBox Name="EssTweaksServices" Content="Set Services to Manual" Margin="5,0"/>
<CheckBox Name="EssTweaksDeBloat" Content="Remove MS Store Apps" Margin="5,0"/>
<Button Name="essentialtweaks" Background="AliceBlue" Content="Run Essential Tweaks" Margin="0"/>
</StackPanel>
<StackPanel Background="#777777" SnapsToDevicePixels="True" Grid.Row="1" Grid.Column="1" Margin="10,5">
<Label FontSize="16" Content="Misc. Tweaks"/>
<CheckBox Name="MiscTweaksPower" Content="Disable Power Throttling" Margin="5,0"/>
<CheckBox Name="MiscTweaksLapPower" Content="Enable Power Throttling" Margin="5,0"/>
<CheckBox Name="MiscTweaksNum" Content="Enable NumLock on Startup" Margin="5,0"/>
<CheckBox Name="MiscTweaksLapNum" Content="Disable Numlock on Startup" Margin="5,0"/>
<CheckBox Name="MiscTweaksExt" Content="Show File Extensions" Margin="5,0"/>
<CheckBox Name="MiscTweaksDisplay" Content="Set Display for Performance" Margin="5,0"/>
<CheckBox Name="MiscTweaksUTC" Content="Set Time to UTC (Dual Boot)" Margin="5,0"/>
<CheckBox Name="MiscTweaks" Content="" Margin="5,0"/>
<Button Name="misctweaks" Background="AliceBlue" Content="Run Misc. Tweaks" Margin="0"/><Button Name="undoall" Background="AliceBlue" Content="Undo All Tweaks" Margin="20"/>
</StackPanel>
</Grid>
</TabItem>
<TabItem Header="Config" Visibility="Collapsed" Name="Tab3">
<Grid Background="#333333">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" TextWrapping="Wrap" Text="Config" FontSize="14" FontWeight="Bold" Height="21" Foreground="#ffffff"/>
</Grid>
</TabItem>
<TabItem Header="Updates" Visibility="Collapsed" Name="Tab4">
<Grid Background="#333333">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Top" TextWrapping="Wrap" Text="Updates" FontSize="14" FontWeight="Bold" Height="21" Foreground="#ffffff"/>
</Grid>
</TabItem>
</TabControl>
</Grid>
</Viewbox>
</Window>