Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Application.DoStuff

I nice little post by Eric Gunnerson that talked how to add an odd-shaped splash screen to an application.  The most interesting thing that came out of this post for me was that he mentioned having to call Application.DoEvents to allow Windows to process the necessary messages to get the splash form to render properly.  Being a web-guy Application.DoEvents is something that I've never really come to terms with.  If you were to go under the hood of some of my winforms apps you would undoubtedly uncover a shot-gun approach to calling this method - i.e.:  sprayed at random.

Application.DoEvents in the library

 

No Comments