From 45c0be6827dd4d52bfe8900f57fbf1774890c992 Mon Sep 17 00:00:00 2001 From: mat1jaczyyy Date: Mon, 2 Sep 2019 00:15:55 +0200 Subject: [PATCH] SplashWindow: Minimize --- Apollo/Windows/SplashWindow.cs | 2 ++ Apollo/Windows/SplashWindow.xaml | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Apollo/Windows/SplashWindow.cs b/Apollo/Windows/SplashWindow.cs index 094d6d48..b62df4e0 100644 --- a/Apollo/Windows/SplashWindow.cs +++ b/Apollo/Windows/SplashWindow.cs @@ -296,5 +296,7 @@ void Window_KeyDown(object sender, KeyEventArgs e) { } void MoveWindow(object sender, PointerPressedEventArgs e) => BeginMoveDrag(); + + void Minimize() => WindowState = WindowState.Minimized; } } diff --git a/Apollo/Windows/SplashWindow.xaml b/Apollo/Windows/SplashWindow.xaml index 040182de..a4567b09 100644 --- a/Apollo/Windows/SplashWindow.xaml +++ b/Apollo/Windows/SplashWindow.xaml @@ -13,8 +13,13 @@ + - + + + + +