-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAboutWindow.xaml
More file actions
46 lines (42 loc) · 2.68 KB
/
Copy pathAboutWindow.xaml
File metadata and controls
46 lines (42 loc) · 2.68 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
<Window x:Class="RAM_Cleaner.AboutWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
Title="About" Height="230" Width="300"
WindowStartupLocation="CenterOwner"
WindowStyle="None" AllowsTransparency="True" Background="Transparent" ResizeMode="NoResize"
FontFamily="Segoe UI">
<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="About" Foreground="White" FontSize="13"
FontWeight="SemiBold" VerticalAlignment="Center" Margin="14,0,0,0"/>
<Button Grid.Column="1" Style="{StaticResource TitleBarCloseButtonStyle}" Click="Close_Click">
<Path Data="{StaticResource CloseIconGeometry}" Stroke="White" StrokeThickness="1.4" Width="10" Height="10"/>
</Button>
</Grid>
</Border>
<StackPanel Grid.Row="1" Margin="5,5,5,5" HorizontalAlignment="Center">
<Image Grid.Column="0" Source="icon.ico" Width="35" Height="35" VerticalAlignment="Center"/>
<TextBlock Text="RAM Cleaner" FontSize="18" FontWeight="Bold" HorizontalAlignment="Center"
Margin="0,10,0,2" Foreground="{StaticResource TextPrimaryBrush}"/>
<TextBlock Text="A lightweight, free tool that trims running-process working sets and clears the standby memory list to reclaim physical RAM on demand."
FontSize="12" TextWrapping="Wrap" TextAlignment="Center" Margin="0,14,0,0"
Foreground="{StaticResource TextSecondaryBrush}"/>
</StackPanel>
<Button Grid.Row="2" Content="Close" Width="120" HorizontalAlignment="Center" VerticalAlignment="Center"
Background="{StaticResource AccentBrush}" Style="{StaticResource RoundedActionButtonStyle}" Click="Close_Click"/>
</Grid>
</Border>
</Window>