C# 如何以模态方式打开exe程序
C# 如何以模态方式打开exe程序,就像打开模态对话框一样的那种
[解决办法]
不明白LZ说的是什么,先给你顶起。
[解决办法]
System.Diagnostics.Process.Start(path)
[解决办法]
private void button1_Click(object sender, EventArgs e) { string path = @"F:\Testing\Dialog\exePopup\bin\Debug\exePopup.exe"; ProcessStartInfo startInfo = new ProcessStartInfo(path); startInfo.CreateNoWindow = true; System.Diagnostics.Process p = System.Diagnostics.Process.Start(startInfo); p.WaitForExit(); }