-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirstRunWindow.xaml
More file actions
50 lines (46 loc) · 3.2 KB
/
Copy pathFirstRunWindow.xaml
File metadata and controls
50 lines (46 loc) · 3.2 KB
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
<Window x:Class="RAM_Cleaner.FirstRunWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Welcome to RAM Cleaner" Height="260" Width="350"
WindowStartupLocation="CenterScreen"
WindowStyle="None" AllowsTransparency="True" Background="Transparent" ResizeMode="NoResize"
FontFamily="Segoe UI"
ShowInTaskbar="False">
<Border CornerRadius="10" Background="{StaticResource CardBgBrush}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="30"/>
<RowDefinition Height="*"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="{StaticResource AccentBrush}" CornerRadius="9,9,0,0"
MouseLeftButtonDown="TitleBar_MouseLeftButtonDown">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" Text="Welcome to RAM Cleaner" Foreground="White" FontSize="13"
FontWeight="SemiBold" VerticalAlignment="Center" Margin="14,0,0,0"/>
<Button Grid.Column="1" Style="{StaticResource TitleBarCloseButtonStyle}" Click="GotIt_Click">
<Path Data="{StaticResource CloseIconGeometry}" Stroke="White" StrokeThickness="1.4" Width="10" Height="10"/>
</Button>
</Grid>
</Border>
<StackPanel Grid.Row="1" Margin="16,10,16,0">
<TextBlock Text="Before you click Optimize:" FontSize="13" FontWeight="Bold"
Foreground="{StaticResource TextPrimaryBrush}" Margin="0,0,0,6"/>
<TextBlock TextWrapping="Wrap" FontSize="11.5" Foreground="{StaticResource TextSecondaryBrush}" Margin="0,0,0,6"
Text="RAM Cleaner runs elevated (admin) and does two things every time you click Optimize:"/>
<TextBlock TextWrapping="Wrap" FontSize="11.5" Foreground="{StaticResource TextPrimaryBrush}" Margin="0,0,0,5"
Text="1) Trims the working set of every process it can reach, releasing memory those apps aren't actively using right now."/>
<TextBlock TextWrapping="Wrap" FontSize="11.5" Foreground="{StaticResource TextPrimaryBrush}" Margin="0,0,0,6"
Text="2) Purges the system's standby memory list, which is what makes 'Available' jump up immediately."/>
<TextBlock TextWrapping="Wrap" FontSize="11.5" Foreground="{StaticResource TextSecondaryBrush}"
Text="Windows naturally refills both as you keep using your PC - that's expected, not a sign anything failed."/>
</StackPanel>
<Button Grid.Row="2" Content="Got it" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
Background="{StaticResource AccentBrush}" Style="{StaticResource RoundedActionButtonStyle}" Click="GotIt_Click"/>
</Grid>
</Border>
</Window>