static void OnCapsKeyUp(KeyHookEventArgs e) { //if (_commandInputForm != null) //{ // _commandInputForm.Close(); // _commandInputForm.Dispose(); // _commandInputForm = null; //} }
public void FireKeyUp(KeyHookEventArgs e) { KeyUp(e); }
static void OnCapsKeyDown(KeyHookEventArgs e) { if (_commandInputForm == null) { _commandInputForm = new CommandInputForm(_commandProvider, _commandHistory); _commandInputForm.FormClosing += new FormClosingEventHandler(OnCommandInputFormClosing); _commandInputForm.Show(); } else { _commandInputForm.Cancel(); } }
public void FireKeyDown(KeyHookEventArgs e) { KeyDown(e); }