Skip to content
Snippets Groups Projects
Commit 19fbff14 authored by noberumotto's avatar noberumotto
Browse files

添加程序退出时状态栏图标消除处理

parent 698288ae
Branches
No related merge requests found
......@@ -47,6 +47,11 @@ namespace UI
serviceProvider = serviceCollection.BuildServiceProvider();
}
protected override void OnExit(ExitEventArgs e)
{
base.OnExit(e);
statusBarIcon.Visible = false;
}
private void App_DispatcherUnhandledException(object sender, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs e)
{
// 记录崩溃错误
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment