Re: Splash Screen - My Nemesis

Patrick Steele <[email protected]> Thu, 26 Jul 2007 09:56:34 -0400
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <000d01c7cf8c$c74298b0$0202fea9@X60T>
Perhaps this is all related to the issue of subscribing to your own events
(i.e. "Load") instead of overriding the method (i.e. "OnLoad"):

"Avoid subscribing to your own events"
http://weblogs.asp.net/savanness/archive/2003/03/10/3646.aspx

---
Patrick Steele
http://weblogs.asp.net/psteele


-----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:30 AM
To: [email protected]
Subject: Re: [DOTNET-WINFORMS] Splash Screen - My Nemesis


> 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.

After having looked at Brady's code again, it's probably that an exception
thrown in Load doesn't (always) propagate to the method that called the
Form's "Show" method. Is this the issue you've all experienced, or is there
anything else as well?

Fabian