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