-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathRunInstallerWindow.xaml
More file actions
27 lines (26 loc) · 1.59 KB
/
Copy pathRunInstallerWindow.xaml
File metadata and controls
27 lines (26 loc) · 1.59 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
<Window x:Class="MarvinsAIRA.RunInstallerWindow"
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:MarvinsAIRA"
xmlns:ui="http://schemas.modernwpf.com/2019"
mc:Ignorable="d"
Title="Run installer now?"
Height="Auto"
Width="800"
SizeToContent="Height"
ResizeMode="NoResize"
Icon="/white-icon.ico"
WindowStartupLocation="CenterOwner"
ui:WindowHelper.UseModernWindowStyle="True">
<StackPanel Margin="10,10,10,10">
<Label Content="The latest version has been downloaded! Would you like to run the installer now?" FontWeight="DemiBold" HorizontalAlignment="Center" />
<Label Content="If you choose not to install it now, you can install it later by running the installer file located at:" FontWeight="DemiBold" HorizontalAlignment="Center" Margin="0,10,0,0" />
<Label x:Name="DownloadPath_Label" Content="" FontFamily="Consolas" HorizontalAlignment="Center" Margin="0,10,0,0" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="0,20,0,0">
<Button Content="Yes, please!" Margin="10,0,10,0" FontSize="18" Width="130" Click="InstallNow_Click" />
<Button Content="Not now." Margin="10,0,10,0" FontSize="18" Width="130" Click="InstallLater_Click" />
</StackPanel>
</StackPanel>
</Window>