In This Topic
Syntax
'Declaration
<SRCategoryAttribute("CatBehavior")>
<SRDescriptionAttribute("FormOnMenuCompleteDescr")>
<System.ComponentModel.BrowsableAttribute(False)>
Public Event MenuComplete As System.EventHandler
'Usage
Dim instance As LicenseDialog
Dim handler As System.EventHandler
AddHandler instance.MenuComplete, handler
[SRCategory("CatBehavior")]
[SRDescription("FormOnMenuCompleteDescr")]
[System.ComponentModel.Browsable(false)]
public event System.EventHandler MenuComplete
public event MenuComplete: System.EventHandler;
In JScript, you can handle the events defined by another class, but you cannot define your own.
[SRCategory("CatBehavior")]
[SRDescription("FormOnMenuCompleteDescr")]
[System.ComponentModel.Browsable(false)]
public: __event System.EventHandler* MenuComplete
[SRCategory("CatBehavior")]
[SRDescription("FormOnMenuCompleteDescr")]
[System.ComponentModel.Browsable(false)]
public:
event System.EventHandler^ MenuComplete
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also