摘要: 注意 需要确保程序的关闭逻辑设置正确,在App.xaml.cs的启动逻辑中设置只有明确调用退出时才会关闭程序,否则异常逻辑触发会导致程序闪退没有被捕获。 //主程序App.xaml.cs中的Application_Startup方法中添加(主程序启动时就配置) this.ShutdownMode = 阅读全文
posted @ 2024-05-29 11:26 Hey,Coder! 阅读(210) 评论(0) 推荐(0)