'Declaration
<SRCategoryAttribute("CatBehavior")> <System.ComponentModel.BrowsableAttribute(True)> <System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)> <SRDescriptionAttribute("ControlOnControlRemovedDescr")> Public Event ControlRemoved As System.Windows.Forms.ControlEventHandler
'Usage
Dim instance As LicenseDialog Dim handler As System.Windows.Forms.ControlEventHandler AddHandler instance.ControlRemoved, handler
[SRCategory("CatBehavior")] [System.ComponentModel.Browsable(true)] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("ControlOnControlRemovedDescr")] public event System.Windows.Forms.ControlEventHandler ControlRemoved
public event ControlRemoved: System.Windows.Forms.ControlEventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("CatBehavior")] [System.ComponentModel.Browsable(true)] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("ControlOnControlRemovedDescr")] public: __event System.Windows.Forms.ControlEventHandler* ControlRemoved
[SRCategory("CatBehavior")] [System.ComponentModel.Browsable(true)] [System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)] [SRDescription("ControlOnControlRemovedDescr")] public: event System.Windows.Forms.ControlEventHandler^ ControlRemoved
Event Data
The event handler receives an argument of type System.Windows.Forms.ControlEventArgs containing data related to this event. The following ControlEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Control | Gets the control object used by this event. |
Requirements