C# Class XTAPI_Samples.frmHotKey

HotKey This example demonstrates using the XTAPI capture a specific keystroke from the users keyboard.
Inheritance: System.Windows.Forms.Form
Show file Open project: tradingtechnologies/CodeSamples_XTAPI_CSharp

Public Methods

Method Description
frmHotKey ( ) : System

Setup the TTHotKey and subscibe to the event.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AboutMenuItem_Click ( object sender, System e ) : void

This function displays the About dialog box.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

Main ( ) : void
XTOnHotKey ( String keyName ) : void

Triggered when a registered HotKey is pressed

frmHotKey_Load ( object sender, EventArgs e ) : void

Registers HotKey events upon form loading

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
return void

frmHotKey() public method

Setup the TTHotKey and subscibe to the event.
public frmHotKey ( ) : System
return System