程序主窗口的 Closed 事件中添加代码:

Process.GetCurrentProcess().Kill();

 

posted on 2018-09-10 17:22  青叶煮酒  阅读(1204)  评论(0编辑  收藏  举报