C#实现程序自重启
时间:2015-10-20 13:39:40
收藏:0
阅读:614
方法1:
System.Diagnostics.Process.Start(System.Reflection.Assembly.GetExecutingAssembly().Location); //重新开启当前程序 Close();//关闭当前程序
方法2:
System.Windows.Forms.Application.Restart(); //重启当前程序
原文:http://www.cnblogs.com/eastson/p/4894363.html
评论(0)