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