public void Present(bool giveFocus) { if (dockBarItem != null) { dockBarItem.Present(Status == DockItemStatus.AutoHide || giveFocus); } else { frame.Present(this, Status == DockItemStatus.AutoHide || giveFocus); } }
public void Present(bool giveFocus) { if (dockBarItem != null) { dockBarItem.Present(Status == DockItemStatus.AutoHide || giveFocus); } else if (floatingWindow != null) { if (giveFocus) { floatingWindow.Present(); } else { floatingWindow.Show(); } } else { frame.Present(this, Status == DockItemStatus.AutoHide || giveFocus); } }