按钮事件函数体如下:if (p == null){p = new System.Diagnostics.Process();p.StartInfo.FileName = "应用程序名字.exe";p.Start();}else{if (p.HasExited) //是否正在运行{p.Start();}}p.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;}