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