Do all the windows and controls (including active-x) displayed inside WinForms application are derived from System.Windows.Forms.Control class?
Do all the windows and controls (including active-x) displayed inside WinForms application are derived
Share
Basically yes.
However, non-visual components such as Timers are derived from Component (or implement IComponent). Only visual elements like Button and Form are derived from Control.
In addition, ActiveX controls don’t derive from Control per se, because they’re COM components; instead, when you import an ActiveX control, Visual Studio generates a wrapper that derives from AxHost and hosts the COM object. (AxHost itself does derive from Control.)