Exemplo n.º 1
0
        private void OnInternalKeyPress(object sender, OpenTK.KeyPressEventArgs e)
        {
            var args = new KeyboardPressEventArgs(e.KeyChar);

            OnKeyPress(this, args);
            KeyPress?.Invoke(this, args);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Called whenever character is typed.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 protected virtual void OnKeyPress(object sender, KeyboardPressEventArgs e)
 {
 }