From 5ecc3d68ef3a4296bb95a313117aa678df83941c Mon Sep 17 00:00:00 2001 From: tux Date: Sun, 29 Jun 2025 02:44:10 +0530 Subject: [PATCH] feat: window hide binding --- ui/windows/MainWindow.axaml | 6 +++--- ui/windows/MainWindow.axaml.cs | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ui/windows/MainWindow.axaml b/ui/windows/MainWindow.axaml index 6424ab2..a0db4eb 100644 --- a/ui/windows/MainWindow.axaml +++ b/ui/windows/MainWindow.axaml @@ -29,7 +29,7 @@ - + - diff --git a/ui/windows/MainWindow.axaml.cs b/ui/windows/MainWindow.axaml.cs index f699e18..c7214cf 100644 --- a/ui/windows/MainWindow.axaml.cs +++ b/ui/windows/MainWindow.axaml.cs @@ -164,4 +164,9 @@ public partial class MainWindow : Window } } } + + private void HideBtnClick(object? sender, RoutedEventArgs e) + { + Hide(); + } } \ No newline at end of file