摘要: 定义一个重新启动的类: class Relogin { public void Restart() { Thread thtmp = new Thread(new ParameterizedThreadStart(run)); object appName = Application.ExecutablePath; Thread.Sleep(1000); thtmp.Start(appName); } private void run(Objec... 阅读全文
posted @ 2013-11-04 15:49 JasonGu0 阅读(1065) 评论(0) 推荐(0) 编辑