//System.Environment.Exit(0);
//Process.GetCurrentProcess().Kill();
//System.Threading.Thread.CurrentThread.Abort();
System.Diagnostics.Process.GetCurrentProcess().Kill(); Application.Exit();
//System.Environment.Exit(0);
//Process.GetCurrentProcess().Kill();
//System.Threading.Thread.CurrentThread.Abort();
System.Diagnostics.Process.GetCurrentProcess().Kill(); Application.Exit();
转载于:https://www.cnblogs.com/XuPengLB/p/5799178.html