Redigera

Dela via


ToolBarArray.ControlRemoved Event

Definition

Occurs when a control is removed from the Control.ControlCollection.

public:
 event System::Windows::Forms::ControlEventHandler ^ ControlRemoved;
public event System.Windows.Forms.ControlEventHandler ControlRemoved;
member this.ControlRemoved : System.Windows.Forms.ControlEventHandler 
Public Custom Event ControlRemoved As ControlEventHandler 
Public Event ControlRemoved As ControlEventHandler 

Event Type

Remarks

This event is raised if the ContextMenuStrip property is changed by either a programmatic modification or user interaction.

For more information about how to handle events, see Handling and Raising Events.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Applies to