I have declared a process as follows:
proc = Process.Start(filename)
I have a button on a form which allows user to close the file as follows:
On btnclose.Click event I have written:
Proc.CloseMainWindows() allows user to save the file before closing.
I want to enable few buttons on the form after the file is closed , but keep the buttons disabled if the user hits Cancel in the above window.
Could some one please help me with this? How do I code for Cancel button in the above window?