Where can I find a list of the sequence of events that a vb.net form goes through... when the execut

  • Thread starter \A_Michigan_User\
  • Start date
A

\A_Michigan_User\

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

Tom Dacon

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
 
W

Will

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top