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