我在WindowsForm(c#.net 3.5)中,點擊一個按鈕,使用Process.Start()啓動另一個外部應用程序(也是.net 3.5),並瞭解它在我啓動後何時可用。如何知道何時由Process.Start加載winform?
ProcessStartInfo psInfo = new ProcessStartInfo(@"MyApplication.exe");
psInfo.RedirectStandardOutput = true;
psInfo.RedirectStandardError = true;
psInfo.UseShellExecute = false;
psInfo.CreateNoWindow = true;
Process proc = Process.Start(psInfo);
proc... IsFullyLoaded()?
我該怎麼做?