关闭程序

System.Diagnostics.Process.GetCurrentProcess().Kill();//关闭程序
原文地址:https://www.cnblogs.com/CandiceW/p/4204564.html