ComponentFactory.Krypton.Toolkit.ContextMenuProvider.OnClose C# (CSharp) Method

OnClose() public method

Fires the Close event.
public OnClose ( CloseReasonEventArgs e ) : void
e CloseReasonEventArgs A CloseReasonEventArgs containing the event data.
return void
        public void OnClose(CloseReasonEventArgs e)
        {
            if (_parent != null)
                _parent.OnClose(e);
            else if (Close != null)
                Close(this, e);
        }