C# Class TpTrayUtility.HotKeyControl

Mostra file Open project: TargetProcess/Tp.TrayUtility

Public Methods

Method Description
HotKeyControl ( ) : System
SetHotKeyValue ( KeyPressedInfo keyPressedInfo ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClick ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnSizeChanged ( EventArgs e ) : void

Private Methods

Method Description
GetKeyboardLayout ( uint threadId ) : int
InitializeComponent ( ) : void

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

MapVirtualKeyEx ( uint uCode, uint uMapType, int dwhkl ) : uint
UpdateKeyInfo ( KeyPressedInfo currentKey ) : void
captureBugHotKey_KeyDown ( object sender, KeyEventArgs e ) : void
captureBugHotKey_KeyUp ( object sender, KeyEventArgs e ) : void
clearButton_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

HotKeyControl() public method

public HotKeyControl ( ) : System
return System

OnClick() protected method

protected OnClick ( EventArgs e ) : void
e EventArgs
return void

OnGotFocus() protected method

protected OnGotFocus ( EventArgs e ) : void
e EventArgs
return void

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnKeyUp() protected method

protected OnKeyUp ( KeyEventArgs e ) : void
e KeyEventArgs
return void

OnLostFocus() protected method

protected OnLostFocus ( EventArgs e ) : void
e EventArgs
return void

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnSizeChanged() protected method

protected OnSizeChanged ( EventArgs e ) : void
e EventArgs
return void

SetHotKeyValue() public method

public SetHotKeyValue ( KeyPressedInfo keyPressedInfo ) : void
keyPressedInfo KeyPressedInfo
return void