Re: Splash Screen - My Nemesis
Greg Robinson <[email protected]> Thu, 26 Jul 2007 09:43:07 -0400
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <[email protected]> |
If I recall from memory, when calling show or showdialog on an instance of a form, any exceptions thrown inside the load event handler for that form do not bubble back up to the calling code. Greg Robinson Custom Data Systems, Inc. www.cds-am.net -----Original Message----- From: Discussion forum for developers using Windows Forms to build apps and controls [mailto:[email protected]]On Behalf Of Fabian Schmied Sent: Thursday, July 26, 2007 9:26 AM To: [email protected] Subject: Re: [DOTNET-WINFORMS] Splash Screen - My Nemesis > > handling exceptions in the Load ... don't do it, it's unpredictable > > Same experience here - unpredictable... quite frustrating the first > time you run into it :) Can you give a little more information on that? Is this about Application.ThreadException, AppDomain.UnhandledException, or general try/catch blocks? Ideally, I'd like to see a code sample of a case where exception handling doesn't play well with Load, I'm quite interested in that. Fabian