From e9de54415a1b3b73761d0b29dfa94d053b50f169 Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Mon, 1 Jul 2024 12:04:13 +0200 Subject: [PATCH] UpdateDialog: Fix cancellation and buttons --- Elwig/Dialogs/UpdateDialog.xaml | 13 +++++++------ Elwig/Dialogs/UpdateDialog.xaml.cs | 20 ++++++++++++++++---- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/Elwig/Dialogs/UpdateDialog.xaml b/Elwig/Dialogs/UpdateDialog.xaml index 570c656..58ea9f7 100644 --- a/Elwig/Dialogs/UpdateDialog.xaml +++ b/Elwig/Dialogs/UpdateDialog.xaml @@ -5,9 +5,10 @@ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" ResizeMode="NoResize" ShowInTaskbar="False" Topmost="True" WindowStartupLocation="CenterOwner" - Title="Neues Update verfügbar - Elwig" Height="180" Width="400"> + Title="Neues Update verfügbar - Elwig" Height="190" Width="400" + Closed="OnClosed"> - Version 0.0.0 von Elwig ist verfügbar! (Änderungen) @@ -20,12 +21,12 @@ HorizontalAlignment="Center" VerticalAlignment="Center" Height="27" Width="300" SnapsToDevicePixels="True"/> -