List Info

Thread: What is the next event to fire after the OnCreateControl?




What is the next event to fire after the OnCreateControl?
user name
2006-10-24 13:52:03
I am designing an inherited control. Besides the
OnCreateControl , what
other events can be listened to that the if(!DesignMode)
test willl
work? The reason I am asking is that a customer has asked to
hide the
control. However, setting the controls visible property to
false means
that the OnCreateControl which contains some essential
processing never
fires. I need somewhere else to relocate this code,
presumably in the
next event after the OnCreateControl event. Also, is there
is a
published list of events in the lifecyle of a winforms
control? I
can't find anything on this!

TIA,

Greg.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C# Developers" group.
To post to this group, send email to CSDevelopersgooglegroups.com
To unsubscribe from this group, send email to
CSDevelopers-unsubscribegooglegroups.com
For more options, visit this group at http
://groups-beta.google.com/group/CSDevelopers
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )