From d372252580667cd07e42cbf1adafb91d76a8538b Mon Sep 17 00:00:00 2001 From: shanj <18996038927@163.com> Date: Tue, 10 Jan 2023 21:38:57 +0800 Subject: [PATCH] 1 --- PJZS/App.xaml | 2 +- PJZS/App.xaml.cs | 8 ++++++++ PJZS/MainWindow.xaml.cs | 6 ++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/PJZS/App.xaml b/PJZS/App.xaml index 8ca648fd..ab7302d8 100644 --- a/PJZS/App.xaml +++ b/PJZS/App.xaml @@ -4,7 +4,7 @@ xmlns:local="clr-namespace:PJZS" xmlns:vm="clr-namespace:PJZS.ViewModels" StartupUri="MainWindow.xaml" - ShutdownMode="OnExplicitShutdown"> + ShutdownMode="OnMainWindowClose">