Control.ControlAdded Event
.NET Framework (current version)
Occurs when a new control is added to the Control.ControlCollection.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
For more information about handling events, see Handling and Raising Events.
The following code example uses ControlAdded to add a control to a form and displays the name of the added control in a MessageBox.
.NET Framework
Available since 1.1
Available since 1.1
Show: