ComponentFactory.Krypton.Toolkit.VisualPopup.OnKeyPress C# (CSharp) Method

OnKeyPress() protected method

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
return void
        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            // Cannot process a message for a disposed control
            if (!IsDisposed)
            {
                // Do we have a manager for processing key messages?
                if (ViewManager != null)
                    ViewManager.KeyPress(e);
            }

            // Let base class fire events
            base.OnKeyPress(e);
        }