110,539
社区成员
发帖
与我相关
我的任务
分享
System.Diagnostics.Process p = new System.Diagnostics.Process();
p.StartInfo = new System.Diagnostics.ProcessStartInfo("C:\\Program Files\\Notepad++\\notepad++.exe");
p.EnableRaisingEvents = true; //一定要有这个才能触发Exited 事件
p.Exited += new EventHandler(p_Exited);
p.Start();