static void Main()
{
SplashScreen splash = new SplashScreen();
splash.Show();
DoLongRunningSetUpStuff();
splash.Close();
Application.ThreadException += new ThreadExceptionEventHandler(new ThreadExceptionHandler().ApplicationThreadException);
Application.Run(new MainForm());
}
Top-level Exception Handling – Code Listing 2
No Comments Yet »
No comments yet.
RSS feed for comments on this post. TrackBack URI
