Just like there is page life cycle in web applications, what is the event life cycle for Winforms, especially between form and usercontrols?
+2
A:
Assuming .Net, have a look at
Windows Forms - Basic events in the Lifecycle of Forms and Controls
astander
2010-04-25 18:04:54
+1
A:
On a second note you should also see Jared Parson's blog, link
Srinivas Reddy Thatiparthy
2010-04-25 18:07:52
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
2010-04-26 15:59:17