ShowDialog crashes application

  • Thread starter Thread starter Bryan
  • Start date Start date
B

Bryan

Hello,
I am using CF 2.0, with ARM processor. When I try to do something simple
like this:
Form frm = new frmChange();

frm.ShowDialog();

It crashes on ShowDialog(), I have even put it in a try,catch to see if I
can catch anything, but no, it just plain crashes and closes the whole
application.

Is there something I am missing, or a configuration issue going on?



Thanks,

Bryan
 
Nevermind, I didn't realize that showing a modal caused the Deactivate event
to be called on the main form, I was calling Application.Exit in that event.

Bryan
 
Back
Top