Ejemplo n.º 1
0
 private void ShowSysTrayMenu()
 {
     Mubox.View.SysTrayMenu sysTrayMenu = new Mubox.View.SysTrayMenu(
         () =>
     {
         NavigateInternal(new Uri("http://www.dualbox.net/"));
         ShowNavigationWindow();
     },
         () =>
     {
         WindowState = WindowState.Minimized;
         Close();
     });
     sysTrayMenu.IsOpen = true;
 }
Ejemplo n.º 2
0
 private void ShowSysTrayMenu()
 {
     Mubox.View.SysTrayMenu sysTrayMenu = new Mubox.View.SysTrayMenu(
         () =>
     {
         NavigateInternal(new Uri("http://mrshaunwilson.com/mubox"));
         ShowNavigationWindow();
     },
         () =>
     {
         WindowState = WindowState.Minimized;
         Mubox.Extensions.ExtensionManager.Instance.Shutdown();
         Close();
     });
     sysTrayMenu.IsOpen = true;
     sysTrayMenu.Focus();
 }
Ejemplo n.º 3
0
 private void ShowSysTrayMenu()
 {
     Mubox.View.SysTrayMenu sysTrayMenu = new Mubox.View.SysTrayMenu(
         () =>
         {
             NavigateInternal(new Uri("http://mrshaunwilson.com/mubox"));
             ShowNavigationWindow();
         },
         () =>
         {
             WindowState = WindowState.Minimized;
             Mubox.Extensions.ExtensionManager.Instance.Shutdown();
             Close();
         });
     sysTrayMenu.IsOpen = true;
     sysTrayMenu.Focus();
 }