Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ControlKeySendingEventHandler Delegate
The event sender.
The event argument.


In This Topic
    ControlKeySendingEventHandler Delegate
    In This Topic
    Handles the SendingControlKey event to permit users to modify a control key value or cancel a send control key action before it is sent.
    Syntax
    'Declaration
     
    
    Public Delegate Sub ControlKeySendingEventHandler( _
       ByVal sender As Object, _
       ByVal e As ControlKeySendingEventArgs _
    ) 
    'Usage
     
    
    Dim instance As New ControlKeySendingEventHandler(AddressOf HandlerMethod)
    public delegate void ControlKeySendingEventHandler( 
       object sender,
       ControlKeySendingEventArgs e
    )

    Parameters

    sender
    The event sender.
    e
    The event argument.
    Remarks
    To cancel the action, set the Cancel property of the SendingControlKeyEventArgs object passed to the event handler to true.
    See Also