处于中断模式不主动退出怎么解决
主要问题应该是窗口的关闭模式没有选择,最好手动设置关闭模式,亲测解决
添加关闭模式
ShutdownMode="OnExplicitShutdown"
整体如下所示
<Application x:Class="test.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns