protected virtual void OnKeyPressed(KeyPressedEventArgs e) { if (KeyPressed != null) { KeyPressed(this, e); } }