[in line]

>From: Simon Robinson <[EMAIL PROTECTED]>
>Reply-To: dotnet discussion <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [DOTNET] Displaying info on loading forms
>Date: Fri, 24 May 2002 11:51:16 +0100
>
>Two purposes to this post:
>1. Ask a question
>2. Mention some rather amusing behavior in Windows Forms.
>
>Questions runs... Is there any event in Windows Forms that
>is raised after a Form has been loaded? My form does a lot
>of processing at startup and I'd like it to display itself then
>do its processing, reporting to the user on its progress as it
>does it.  I tried the Load event but that seems to get invoked
>just before the form is displayed.
>

What I do to get this behavior is to do execute the Show method of the form
in the Form_Load event.  That is, I get the form setup, show the form, do
some processing to load up object hierarchies and such, and display some
progress messages along the way.  Works just fine.

Jon Stonecash

>Simon
>---------------------------------------------------------------
>Simon Robinson
>http://www.SimonRobinson.com
>---------------------------------------------------------------
>
>You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to