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