ComponentFactory.Krypton.Ribbon.AppButtonMenuProvider.OnClosing C# (CSharp) Method

OnClosing() public method

Fires the Closing event.
public OnClosing ( CancelEventArgs cea ) : void
cea CancelEventArgs An CancelEventArgs containing the event data.
return void
        public void OnClosing(CancelEventArgs cea)
        {
            if (_parent != null)
                _parent.OnClosing(cea);
            else if (Closing != null)
                Closing(this, cea);
        }