resources/UI/WimWitchUpdateDialog.xaml
|
<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" Title="New Version Available - WimWitch-Reloaded" Height="280" Width="450" WindowStartupLocation="CenterScreen" ResizeMode="NoResize"> <Grid Margin="20"> <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> <RowDefinition Height="Auto"/> </Grid.RowDefinitions> <TextBlock Grid.Row="0" Text="Update v{NewVersionNumber} Available" FontSize="18" FontWeight="Bold" Margin="0,0,0,15" HorizontalAlignment="Center"/> <TextBlock Grid.Row="1" Text="WimWitch-Reloaded v{NewVersionNumber} is now available for installation." TextWrapping="Wrap" Margin="0,0,0,10"/> <TextBlock Grid.Row="2" Text="Do you want to install this update now?" TextWrapping="Wrap" Margin="0,0,0,10"/> <TextBlock Grid.Row="3" Text="Warning: The application will automatically restart once the update is complete." TextWrapping="Wrap" Foreground="DarkOrange" Margin="0,0,0,10"/> <TextBlock Grid.Row="4" Margin="0,5,0,10"> <Hyperlink x:Name="changelogLink" NavigateUri="https://github.com/mchave3/WimWitch-Reloaded/releases/latest"> View release notes </Hyperlink> </TextBlock> <StackPanel Grid.Row="6" Orientation="Horizontal" HorizontalAlignment="Right"> <Button x:Name="btnYes" Content="Install" Width="75" Height="25" Margin="0,0,10,0"/> <Button x:Name="btnNo" Content="Skip" Width="75" Height="25"/> </StackPanel> </Grid> </Window> |