Within a catch statement located in my main window's constructor, I want my
application to terminate.
I've tried doing this:
try
{
// Some code that raise an exception...
}
catch (Exception eError)
{
MessageBox.Show(eError.Message);
Application.Exit();
}
But my application still continues running... How can I stop it?
Thank you