private void DisplayForm_KeyPress(object sender, KeyPressEventArgs e) { if (onKeyPressed != null) onKeyPressed(new Key(e.KeyChar)); }