OnPreviewKeyDown Method (LicenseDialog)
In This Topic
Syntax
'Declaration
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<System.Security.Permissions.SecurityPermissionAttribute(SecurityPermissionFlag.UnmanagedCode)>
Protected Overridable Sub OnPreviewKeyDown( _
ByVal As System.Windows.Forms.PreviewKeyDownEventArgs _
)
'Usage
Dim instance As LicenseDialog
Dim e As System.Windows.Forms.PreviewKeyDownEventArgs
instance.OnPreviewKeyDown(e)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.UnmanagedCode)]
protected virtual void OnPreviewKeyDown(
System.Windows.Forms.PreviewKeyDownEventArgs
)
protected procedure OnPreviewKeyDown(
: System.Windows.Forms.PreviewKeyDownEventArgs
); virtual;
System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)
System.Security.Permissions.SecurityPermissionAttribute(SecurityPermissionFlag.UnmanagedCode)
protected function OnPreviewKeyDown(
: System.Windows.Forms.PreviewKeyDownEventArgs
);
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.UnmanagedCode)]
protected: virtual void OnPreviewKeyDown(
System.Windows.Forms.PreviewKeyDownEventArgs*
)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.UnmanagedCode)]
protected:
virtual void OnPreviewKeyDown(
System.Windows.Forms.PreviewKeyDownEventArgs^
)
Parameters
- e
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also