Control.ControlAdded Event

 

Occurs when a new control is added to the Control.ControlCollection.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[<BrowsableAttribute(true)>]
member ControlAdded : IEvent<ControlEventHandler,
    ControlEventArgs>

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: