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