JAMS Developer Guide
OnPreviewKeyDown Method (AgentCtl)


MVPSI.JAMS Namespace > AgentCtl Class : OnPreviewKeyDown Method
Syntax
'Declaration
 
<System.ComponentModel.EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<System.Security.Permissions.SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=False, 
   UnmanagedCode=True, 
   SkipVerification=False, 
   Execution=False, 
   ControlThread=False, 
   ControlEvidence=False, 
   ControlPolicy=False, 
   SerializationFormatter=False, 
   ControlDomainPolicy=False, 
   ControlPrincipal=False, 
   ControlAppDomain=False, 
   RemotingConfiguration=False, 
   Infrastructure=False, 
   BindingRedirects=False, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Deny Or  _
    SecurityAction.LinkDemand, 
   Unrestricted=False)>
<System.Security.Permissions.SecurityPermissionAttribute(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=False, 
   UnmanagedCode=True, 
   SkipVerification=False, 
   Execution=False, 
   ControlThread=False, 
   ControlEvidence=False, 
   ControlPolicy=False, 
   SerializationFormatter=False, 
   ControlDomainPolicy=False, 
   ControlPrincipal=False, 
   ControlAppDomain=False, 
   RemotingConfiguration=False, 
   Infrastructure=False, 
   BindingRedirects=False, 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Assert Or  _
    SecurityAction.Deny Or  _
    SecurityAction.PermitOnly Or  _
    SecurityAction.LinkDemand Or  _
    SecurityAction.InheritanceDemand, 
   Unrestricted=False)>
Protected Overridable Sub OnPreviewKeyDown( _
   ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs _
) 
'Usage
 
Dim instance As AgentCtl
Dim e As System.Windows.Forms.PreviewKeyDownEventArgs
 
instance.OnPreviewKeyDown(e)
[System.ComponentModel.EditorBrowsable(EditorBrowsableState.Advanced)]
[System.Security.Permissions.SecurityPermission(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=false, 
   UnmanagedCode=true, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=false, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Deny | 
    SecurityAction.LinkDemand, 
   Unrestricted=false)]
[System.Security.Permissions.SecurityPermission(Flags=SecurityPermissionFlag.UnmanagedCode, 
   Assertion=false, 
   UnmanagedCode=true, 
   SkipVerification=false, 
   Execution=false, 
   ControlThread=false, 
   ControlEvidence=false, 
   ControlPolicy=false, 
   SerializationFormatter=false, 
   ControlDomainPolicy=false, 
   ControlPrincipal=false, 
   ControlAppDomain=false, 
   RemotingConfiguration=false, 
   Infrastructure=false, 
   BindingRedirects=false, 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert | 
    SecurityAction.Deny | 
    SecurityAction.PermitOnly | 
    SecurityAction.LinkDemand | 
    SecurityAction.InheritanceDemand, 
   Unrestricted=false)]
protected virtual void OnPreviewKeyDown( 
   System.Windows.Forms.PreviewKeyDownEventArgs e
)

Parameters

e
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AgentCtl Class
AgentCtl Members