且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用c#强制关闭Windows应用程序

更新时间:2023-02-15 10:52:51

请参阅此答案 [ ^ ] >


是否可以尝试
Please see this answer on SO[^]

Is it possible to try
Application.Exit()





[请鼓励参与投票解决方案或适合您的答案]

instead?

[Please encourage participation by up-voting solutions or answers that work for you]


访问此处以了解更多信息.....

http://***.com/questions/7146080/closing-applications [ ^ ]







如何到正常关闭-a-running-windows-form-process-from-a-service-c [ ^ ]
visit here to understand more.....
http://***.com/questions/7146080/closing-applications[^]

or

how-to-properly-close-a-running-windows-form-process-from-a-service-c[^]