ComponentFactory.Krypton.Toolkit.ViewControl.OnKeyPress C# (CSharp) Метод

OnKeyPress() защищенный Метод

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs A KeyPressEventArgs that contains the event data.
Результат void
        protected override void OnKeyPress(KeyPressEventArgs e)
        {
            // Cannot process a message for a disposed control
            if (!IsDisposed && !Disposing && !RootInstance.IsDisposed)
            {
                // Do we have a manager for processing mouse messages?
                if (GetViewManager() != null)
                    GetViewManager().KeyPress(e);
            }

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