From 184773d01e47b6ee5f7acf80c67b772acd88b1be Mon Sep 17 00:00:00 2001 From: QI Mingxuan Date: Thu, 4 Jun 2026 16:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=B3=A8=E9=87=8A=E5=8F=96?= =?UTF-8?q?=E6=B6=88=E5=BC=80=E5=8F=91=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=BD=AF=E4=BB=B6=E6=8E=88=E6=9D=83=E6=A3=80=E6=B5=8B=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E4=B8=AD?= =?UTF-8?q?LicenseMode=E4=BD=BF=E7=94=A8885?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XplorePlane/App.xaml.cs | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/XplorePlane/App.xaml.cs b/XplorePlane/App.xaml.cs index 88eed0a..b5e3e68 100644 --- a/XplorePlane/App.xaml.cs +++ b/XplorePlane/App.xaml.cs @@ -492,11 +492,11 @@ namespace XplorePlane Application.Current.Dispatcher.Invoke(() => { Log.Warning("临时测试模式剩余5分钟 | Temporary test mode: 5 minutes remaining"); - MessageBox.Show( - "临时测试模式将在5分钟后到期,请尽快保存您的工作。\nTemporary test mode will expire in 5 minutes, please save your work.", - "测试模式提醒 | Test Mode Reminder", - MessageBoxButton.OK, - MessageBoxImage.Information); + //MessageBox.Show( + // "临时测试模式将在5分钟后到期,请尽快保存您的工作。\nTemporary test mode will expire in 5 minutes, please save your work.", + // "测试模式提醒 | Test Mode Reminder", + // MessageBoxButton.OK, + // MessageBoxImage.Information); }); } @@ -508,11 +508,11 @@ namespace XplorePlane Application.Current.Dispatcher.Invoke(() => { Log.Warning("临时测试模式剩余1分钟 | Temporary test mode: 1 minute remaining"); - MessageBox.Show( - "临时测试模式将在1分钟后到期,软件即将关闭,请立即保存您的工作。\nTemporary test mode will expire in 1 minute, the software will shut down soon. Please save your work immediately.", - "测试模式即将到期 | Test Mode Expiring", - MessageBoxButton.OK, - MessageBoxImage.Warning); + //MessageBox.Show( + // "临时测试模式将在1分钟后到期,软件即将关闭,请立即保存您的工作。\nTemporary test mode will expire in 1 minute, the software will shut down soon. Please save your work immediately.", + // "测试模式即将到期 | Test Mode Expiring", + // MessageBoxButton.OK, + // MessageBoxImage.Warning); }); } @@ -523,9 +523,10 @@ namespace XplorePlane { Application.Current.Dispatcher.Invoke(() => { - Log.Warning("临时测试模式已超时,执行正常关闭流程 | Temporary test mode timed out, performing graceful shutdown"); - // 使用正常关闭流程,确保资源正确释放 | Use graceful shutdown to ensure proper resource release - Application.Current.MainWindow?.Close(); + Log.Warning("临时测试模式已超时,开发阶段不执行软件自动退出流程 | Temporary test mode timed out"); + //Log.Warning("临时测试模式已超时,执行正常关闭流程 | Temporary test mode timed out, performing graceful shutdown"); + // // 使用正常关闭流程,确保资源正确释放 | Use graceful shutdown to ensure proper resource release + // Application.Current.MainWindow?.Close(); }); }