ProcessCmdKey Method (DicomViewer)
In This Topic
Syntax
'Declaration
<System.Security.Permissions.SecurityPermissionAttribute(SecurityPermissionFlag.UnmanagedCode)>
Protected Overridable Function ProcessCmdKey( _
ByRef As System.Windows.Forms.Message, _
ByVal As System.Windows.Forms.Keys _
) As System.Boolean
'Usage
Dim instance As DicomViewer
Dim msg As System.Windows.Forms.Message
Dim keyData As System.Windows.Forms.Keys
Dim value As System.Boolean
value = instance.ProcessCmdKey(msg, keyData)
[System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.UnmanagedCode)]
protected virtual System.bool ProcessCmdKey(
ref System.Windows.Forms.Message ,
System.Windows.Forms.Keys
)
protected function ProcessCmdKey(
var : System.Windows.Forms.Message;
: System.Windows.Forms.Keys
): System.Boolean; virtual;
System.Security.Permissions.SecurityPermissionAttribute(SecurityPermissionFlag.UnmanagedCode)
protected function ProcessCmdKey(
: System.Windows.Forms.Message,
: System.Windows.Forms.Keys
) : System.boolean;
[System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.UnmanagedCode)]
protected: virtual System.bool ProcessCmdKey(
ref System.Windows.Forms.Message ,
System.Windows.Forms.Keys
)
[System.Security.Permissions.SecurityPermission(SecurityPermissionFlag.UnmanagedCode)]
protected:
virtual System.bool ProcessCmdKey(
System.Windows.Forms.Message% ,
System.Windows.Forms.Keys
)
Parameters
- msg
- keyData
Requirements
Target Platforms: .NET CLR 4.8 or higher
See Also