Esempio n. 1
0
        private void ProcessKeyPress(KeyPressEventArgs e)
        {
            commandArgs = new CommandEventArgs(e.Key, e.KeyString);

            if (waiting)
            {
                waiting = false;
            }
            else
            {
                DoCommand?.Invoke(this, commandArgs);
            }
        }