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