c#实现程序自重启

1.

System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location);  //重新开启当前程序
Close();//关闭当前程序

2.
System.Windows.Forms.Application.Restart(); //重启当前程序

posted on 2008-11-08 21:03  FTDED  阅读(8481)  评论(0编辑  收藏  举报

导航