예제 #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}");
     }
 }
예제 #2
0
 private void HookManager_KeyPress(object sender, KeyPressEventArgs e)
 {
     Log(string.Format("KeyPress \t\t {0}\n", e.KeyChar));
 }
예제 #3
0
 private void GlobalHookKeyPress(object sender, KeyPressEventArgs e)
 {
     Console.WriteLine("KeyPress: \t{0}", e.KeyChar);
 }