How to open and detect closing of an exe in c#
I am developing a Windows Forms application in which I need to edit
certain config files. Now when the user clicks on the edit option, I want
to launch these config files in a simple notepad editor. Once launched I
want to stall my application. Only when the user closes the notepad
editor, I want to un-stall my application. How can this be done ?
I have seen these questions, but the answers have many issues. (I read the
comments given there.)
Q1Q2