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