private void keyPressedHandler(object sender, RawKeyEventArgs args) { // ESC stops mouse emulation if (args.Key == Key.Escape) { this.Dispatcher.BeginInvoke(new NoArgDelegate(this.stopMouseEmulation), null); } }
private void keyPressedHandler(object sender, RawKeyEventArgs args) { // ESC stops mouse emulation if (args.Key == Key.Escape) { this.Dispatcher.BeginInvoke(new NoArgDelegate(this.stopMouseEmulation), null); } }