Beispiel #1
0
 private void GlobalHookKeyPress(object sender, WindowsHook.KeyPressEventArgs e)
 {
     System.Media.SystemSounds.Asterisk.Play();
     //e.Handled = true;
     if (Debug)
     {
         OutputWriter.WriteLine($"KeyPress: \t{e.KeyChar}");
     }
 }
Beispiel #2
0
 private void HookManager_KeyPress(object sender, KeyPressEventArgs e)
 {
     Log(string.Format("KeyPress \t\t {0}\n", e.KeyChar));
 }
Beispiel #3
0
 private void GlobalHookKeyPress(object sender, KeyPressEventArgs e)
 {
     Console.WriteLine("KeyPress: \t{0}", e.KeyChar);
 }