PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.8 Assembly / C1.Win.C1Preview Namespace / KeyMap Class / AddHandler Method
The keystroke to map.
The handler for the keystroke.

In This Topic
    AddHandler Method (KeyMap)
    In This Topic
    Adds a handler to the keymap.
    Syntax
    'Declaration
     
    Public Sub AddHandler( _
       ByVal keyData As Keys, _
       ByVal handler As KeyMap.DoAction _
    ) 
    public void AddHandler( 
       Keys keyData,
       KeyMap.DoAction handler
    )

    Parameters

    keyData
    The keystroke to map.
    handler
    The handler for the keystroke.
    See Also