B
bill
I'm trying to implement an app level event handler. For starters I just
wanted to trap the bubbled up exception in my main function and display a
dialog box. It works fine in debug mode but in release mode it pops up a
windows error dialog with a stack trace. How do I configure things to
handle the error the same in debug as it does in release?
try
{
Application.Run(new frmMain());
}
catch (Exception ex)
{
MessageBox.Show( ... )
}
Thanks
-Bill
wanted to trap the bubbled up exception in my main function and display a
dialog box. It works fine in debug mode but in release mode it pops up a
windows error dialog with a stack trace. How do I configure things to
handle the error the same in debug as it does in release?
try
{
Application.Run(new frmMain());
}
catch (Exception ex)
{
MessageBox.Show( ... )
}
Thanks
-Bill