I have this standard code in my project:
try {
myForm = new MyForm();
Application.Run(myForm);
} catch (Exception e) {
// handle all uncaught exceptions
}
but, when there is an unhandled exception somewhere in my program, it still shows the "default" exception handler and my catch
is never hit. I want to handle certain fatal errors as known fatal errors (connection lost, for example).