摘要: 1this.Close();//关闭当前窗体或对象23Application.Exit();//关闭所有应用程序窗口45如果启动了多线程,就需要用下面的方法来关闭了c#通过Application.Exit();无法退出单独开启的线程通过 Environment.Exit(0); 可以解决问题。下面的方法,也是关闭的,仅供参考Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->1///<summary>2///停止进程3///</ 阅读全文
posted @ 2011-10-01 16:25 加菲猫21 阅读(202) 评论(0) 推荐(0) 编辑