views:

177

answers:

3

Just like there is page life cycle in web applications, what is the event life cycle for Winforms, especially between form and usercontrols?

+1  A: 

On a second note you should also see Jared Parson's blog, link

Srinivas Reddy Thatiparthy
A: 

FWIW, you should be careful about making life-cycle assumptions about some container controls. For example, in a tab control, I believe the controls on the second and later tabs are lazy loaded. The controls on those tabs may not be instantiated/initialized until the first visit to the tab, so, form level code should not assume that all controls on all tab pages are in place at the completion of form loading.

cdkMoose