G
Guest
Hi,
I need to access all components of a winform (controls, and any other
component which does not inherit from System.Windows.Forms.Control) both in
design and run time.
In design time I access the components and iterate through them using form's
Component property, but in run time this property is null. I can access all
the controls using form's Controls property, but I need to access also the
other components such as ContextMenu, ToolTips... which are not Controls.
How can I get this?
Thanks in advance.
I need to access all components of a winform (controls, and any other
component which does not inherit from System.Windows.Forms.Control) both in
design and run time.
In design time I access the components and iterate through them using form's
Component property, but in run time this property is null. I can access all
the controls using form's Controls property, but I need to access also the
other components such as ContextMenu, ToolTips... which are not Controls.
How can I get this?
Thanks in advance.