G
Guest
It appears that exception handling outside of a form corrupts winforms.
If we have two forms say form1 and form2. On form1 (our start form) I've put
a button click event which does a showdialog() for form2. In this click event
I've got a try catch around the showdialog method. On form2 I've added a
button and a click event which deliberately throws an exception. When the
exception is thrown in form2 the code correctly arrives back at the catch in
form1. Any subsequent calls to showdialog() then fails with no exceptions
thrown.
Any Ideas
If we have two forms say form1 and form2. On form1 (our start form) I've put
a button click event which does a showdialog() for form2. In this click event
I've got a try catch around the showdialog method. On form2 I've added a
button and a click event which deliberately throws an exception. When the
exception is thrown in form2 the code correctly arrives back at the catch in
form1. Any subsequent calls to showdialog() then fails with no exceptions
thrown.
Any Ideas