Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
Stay in background fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnlt-s committed Mar 6, 2021
1 parent 1400607 commit 58bd041
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Forms/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
WindowStartupLocation="CenterScreen"
ResizeMode="CanMinimize"
Topmost="True"
Closed="Window_Closed"
>
<Window.Background>
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
Expand Down
5 changes: 5 additions & 0 deletions Forms/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,10 @@ private void strEncCheck_Checked(object sender, RoutedEventArgs e)
{
moonSec.UpdateOptions(new bool[] { strEncCheck.IsChecked == true, constEncCheck.IsChecked == true, antiDumpCheck.IsChecked == true, smallOutputCheck.IsChecked == true });
}

private void Window_Closed(object sender, EventArgs e)
{
Application.Current.Shutdown();
}
}
}

0 comments on commit 58bd041

Please sign in to comment.