Exemplo n.º 1
0
 public void Present(bool giveFocus)
 {
     if (dockBarItem != null)
     {
         dockBarItem.Present(Status == DockItemStatus.AutoHide || giveFocus);
     }
     else
     {
         frame.Present(this, Status == DockItemStatus.AutoHide || giveFocus);
     }
 }
Exemplo n.º 2
0
 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);
     }
 }