Hi,
I have a windows form application that when I click on the run button, it passes to another class to perform some actions.
Within that class there is something that throws an exception caught within a try/catch block. If an exception is thrown and caught, then a messagebox shows up with two option : retry and cancel.
If the user clicks on retry, it simply retries the operation using DialogResult. However, when the user clicks cancel, I simply want the Messagebox to vanish and the program execution to stop.
That is to say, I don't want the application to close down, just that I don't want it to progress any further and the actual form is still visible to the user to allow them to do further operations.
Is there a simple method to do this?
Thanks,
Darren.