ComponentFactory.Krypton.Docking.KryptonDockingDockspace.OnDockspaceCellVisibleCountChanged C# (CSharp) Method

OnDockspaceCellVisibleCountChanged() private method

private OnDockspaceCellVisibleCountChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void OnDockspaceCellVisibleCountChanged(object sender, EventArgs e)
        {
            if (DockspaceControl.CellVisibleCount == 0)
            {
                if (_cacheCellVisibleCount > 0)
                {
                    _cacheCellVisibleCount = 0;
                    OnHasNoVisibleCells(EventArgs.Empty);
                }
            }
            else
            {
                if (_cacheCellVisibleCount == 0)
                {
                    _cacheCellVisibleCount = 1;
                    OnHasVisibleCells(EventArgs.Empty);
                }
            }
        }