Re: Splash Screen - My Nemesis

Brady Kelly <[email protected]> Thu, 26 Jul 2007 15:47:50 +0200
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Organization Chase Software
Message-ID <[email protected]>
Or they bubble wrong?  I added an exception handler to my Main method last
night, so maybe that was in conflict with my error dialog and splash screen.
Maybe there isn't room for all three.

> -----Original Message-----
> From: Discussion forum for developers using Windows Forms to build apps
> and controls [mailto:[email protected]] On Behalf Of
> Greg Robinson
> Sent: 26 July 2007 15:43 PM
> To: [email protected]
> Subject: Re: [DOTNET-WINFORMS] Splash Screen - My Nemesis
>
> 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