Control.ControlRemoved Event
.NET Framework (current version)
Occurs when a control is removed from 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 ControlRemoved to remove a control from a form and displays the name of the removed control in a MessageBox.
.NET Framework
Available since 1.1
Available since 1.1
Show: