关闭所有窗口并结束程序

1 // 关闭全部窗体并退出程序
2 
3 Application.Current.Shutdown();  

 

posted @ 2020-12-31 13:35  llkj  阅读(60)  评论(0编辑  收藏  举报