forked from xM4ddy/OFGB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MainWindow.xaml
91 lines (88 loc) · 5.42 KB
/
MainWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<Window x:Class="OFGB.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"
mc:Ignorable="d"
Background="#01FFFFFF"
Loaded="EnableBlur"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
WindowStyle="None"
AllowsTransparency="True"
Title="OFGB - Version 0.2" Height="250" Width="235">
<WindowChrome.WindowChrome>
<WindowChrome
CaptionHeight="30"
CornerRadius="0"
GlassFrameThickness="0"
UseAeroCaptionButtons="False" />
</WindowChrome.WindowChrome>
<Grid>
<Image Source="/Assets/OFGB.png" SnapsToDevicePixels="True" Panel.ZIndex="1" Margin="12,6,0,0" Height="16" VerticalAlignment="Top" HorizontalAlignment="Left" />
<Button Content="" FontSize="10" Panel.ZIndex="1" Width="40" Click="Close" Height="30" WindowChrome.IsHitTestVisibleInChrome="True" />
<CheckBox x:Name="cb1" Margin="12,30,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable File Explorer Ads" />
<CheckBox x:Name="cb2" Margin="12,50,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable Lock Screen Tips And Ads" />
<CheckBox x:Name="cb3" Margin="12,70,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable Settings Ads" />
<CheckBox x:Name="cb4" Margin="12,90,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable General Tips And Ads" />
<CheckBox x:Name="cb5" Margin="12,110,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable "Finish Setup" Ads" />
<CheckBox x:Name="cb6" Margin="12,130,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable "Welcome Experience" Ads" />
<CheckBox x:Name="cb7" Margin="12,150,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable Personalized Ads" />
<CheckBox x:Name="cb8" Margin="12,170,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable "Tailored Experiences"" />
<CheckBox x:Name="cb9" Margin="12,190,0,0" Checked="Checked" Unchecked="Unchecked" Content="Disable Start Menu Ads" />
<TextBlock Foreground="Gray" FontSize="12" HorizontalAlignment="Right" VerticalAlignment="Bottom" TextAlignment="Left" Margin="0,0,8,5" TextWrapping="Wrap" Text="V0.3"/>
<TextBlock Foreground="#FFAAAA" Width="210" Margin="13,210,0,0" TextWrapping="Wrap" Text="* You May Need To Restart For Changes To Apply"/>
<StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Left" Width="10" Margin="0,0,0,0" Height="250">
<Rectangle Width="10" Height="50">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0.0,0.0" EndPoint="1.0,0.0">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0.8" Color="#00000000"/>
<GradientStop Offset="0.0" Color="LightBlue"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Rectangle Width="10" Height="50">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0.0,0.0" EndPoint="1.0,0.0">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0.8" Color="#00000000"/>
<GradientStop Offset="0.0" Color="Pink"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Rectangle Width="10" Height="50">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0.0,0.0" EndPoint="1.0,0.0">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0.8" Color="#00000000"/>
<GradientStop Offset="0.0" Color="White"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Rectangle Width="10" Height="50">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0.0,0.0" EndPoint="1.0,0.0">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0.8" Color="#00000000"/>
<GradientStop Offset="0.0" Color="Pink"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
<Rectangle Width="10" Height="50">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0.0,0.0" EndPoint="1.0,0.0">
<LinearGradientBrush.GradientStops>
<GradientStop Offset="0.8" Color="#00000000"/>
<GradientStop Offset="0.0" Color="LightBlue"/>
</LinearGradientBrush.GradientStops>
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</StackPanel>
</Grid>
</Window>