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