摘要:
后台代码:1usingSystem.Diagnostics;23protectedvoidButton1_Click(objectsender,EventArgse)4{5Processprocess=newProcess();6process.StartInfo.FileName="notepad.exe";7process.Start();8}其中notepad.exe是记事本的进程,也可以打开IE浏览器等进程,例如IE:iexplore.exe关闭进程的方式是:process.close(); 阅读全文