Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / March 2008

Tip: Looking for answers? Try searching our database.

Where can I find a list of the sequence of events that a vb.net form goes through... when the executable is first run?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
A_Michigan_User - 02 Mar 2008 00:18 GMT
Where can I find a list of the sequence of events that a vb.net form goes
through... when the executable is first run?
(Before the user has moved/clicked/typed anything).

What order do these happen:  load, active, validate, paint, resize, shown,
etc
(And all the others.)

I'm trying to run some of my own code just BEFORE the form is shown.... (but
AFTER Load() has happened).

Thanks.
Tom Dacon - 02 Mar 2008 00:40 GMT
Create a simple one-form application, and put a Debug.WriteLine(<event
name>) statement in each event that the form supports, and then just run it
and look at the output window.

Tom Dacon
Dacon Software Consulting

> Where can I find a list of the sequence of events that a vb.net form goes
> through... when the executable is first run?
[quoted text clipped - 8 lines]
>
> Thanks.
Will - 13 Mar 2008 15:42 GMT
Does this mean it is not documented anywhere? I can't find it in the standard
docs. I found an entry called "Order of Events in Windows Forms", but it
doesn't actually tell the order.

Signature

-Will

> Create a simple one-form application, and put a Debug.WriteLine(<event
> name>) statement in each event that the form supports, and then just run it
[quoted text clipped - 15 lines]
> >
> > Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.