-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathupdateWindow.xaml
More file actions
31 lines (26 loc) · 1.74 KB
/
updateWindow.xaml
File metadata and controls
31 lines (26 loc) · 1.74 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
<Window
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:AFKManager"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" x:Class="AFKManager.updateWindow"
mc:Ignorable="d"
Closed="Window_Closed"
Title="Update" ResizeMode="NoResize" Height="500" Width="600" Background="#2C2F33">
<Grid>
<materialDesign:Card HorizontalAlignment="Center" VerticalAlignment="Top" Background="#FF23272A" Margin="10" Padding="10" Width="300">
<StackPanel Orientation="Vertical" VerticalAlignment="Center" HorizontalAlignment="Center">
<TextBlock Text="Update available" Foreground="White" Margin="5" HorizontalAlignment="Center"/>
<TextBlock x:Name="newVersion" Text="Newest version is " Foreground="White" Margin="5"/>
<TextBlock x:Name="oldVersion" Text="Your version is " Foreground="White" Margin="5"/>
<TextBlock Text="Changlog:" HorizontalAlignment="Center" Foreground="White" Margin="5"/>
<!-- I Know that it a bad way, but in toward i will replace browser-->
<WebBrowser x:Name="changelogWebBrowser" Height="250" Width="250"/>
</StackPanel>
</materialDesign:Card>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Bottom" Margin="10">
<Button Content="Update" Margin="10" Click="UpdateButton_Click"/>
</StackPanel>
</Grid>
</Window>