关闭线程

来源:互联网 发布:电棍淘宝 编辑:程序博客网 时间:2024/05/16 05:19

c# 关闭窗体线程

System.Threading.Thread.CurrentThread.Abort();
 Process.GetCurrentProcess().Kill();

 Application.ExitThread();

System.Environment.Exit(System.Environment.ExitCode);

Application.Exit();


http://www.cnblogs.com/liuxinls/archive/2013/06/14/3135524.html

0 0