ComponentFactory.Krypton.Ribbon.KryptonRibbonQATButton.OnClick C# (CSharp) Method

OnClick() protected method

Raises the Click event.
protected OnClick ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
return void
        protected virtual void OnClick(EventArgs e)
        {
            // Perform processing that is common to any action that would dismiss
            // any popup controls such as the showing minimized group popup
            if (Ribbon != null)
                Ribbon.ActionOccured();

            if (Click != null)
                Click(this, e);

            // Clicking the button should execute the associated command
            if (KryptonCommand != null)
                KryptonCommand.PerformExecute();
        }