/// <summary> /// Event fired when any key is received by the application's MainWindow. /// </summary> /// <param name="sender">Sending object's reference.</param> /// <param name="keyEventArgs">Key event arguments.</param> private void KeyEvent(object sender, EvasKeyEventArgs keyEventArgs) { _keyPressedDelegate?.Invoke(keyEventArgs.KeyName); }
/// <summary> /// Event fired when any key is received by the application's MainWindow. /// </summary> /// <param name="sender">Sending object's reference.</param> /// <param name="keyEventArgs">Key event arguments.</param> public void KeyEvent(object sender, EcoreKeyEventArgs keyEventArgs) { _keyPressedDelegate?.Invoke(keyEventArgs.KeyName); }