private void ProcessKeyPress(KeyPressEventArgs e) { commandArgs = new CommandEventArgs(e.Key, e.KeyString); if (waiting) { waiting = false; } else { DoCommand?.Invoke(this, commandArgs); } }
private void ProcessKeyPress(KeyPressEventArgs e) { commandArgs = new CommandEventArgs(e.Key, e.KeyString); if (waiting) { waiting = false; } else { DoCommand?.Invoke(this, commandArgs); } }