winform程序中如何在点击重启按钮后注销本程序所有的资源并且重新加载窗口?
Process newprocess =new Process();
newprocess.StartInfo.FileName="程序名字";
newprocess.Start();
Application.Exit();
其中 "程序名字" 使用您的主输出文件的名字,如: test.exe 即可
DonePuzzle
十年磨一剑 |
|
|