Hi,
I have a C# WinForms program thats starts another Process. The program then waits until the Process has finished.
Currently I use Process.WaitForExit(), but this means that while my program waits for the Process to end, it doesn't repaint and "looks" like it's not responding.
Is there any way for the Window of the Process that my program starts, be modal to my main form (i.e. you can't switch back to my program & the window repaints)?
Basically I want to do something like Form.ShowDialog(), except using the Process's Window as the Form to be shown as a dialog.