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);
}
}
}