Exemple #1
0
 public GalaxyMain()
 {
     InitializeComponent();
     Winnotify01 = new WinNotifyIcon();
     Winnotify01.Show();
     GoMainPage();
 }
Exemple #2
0
 private void ProcedureMonitor_Loaded(object sender, RoutedEventArgs e)
 {
     foreach (Window wintest in System.Windows.Application.Current.Windows)
     {
         if (wintest.Name == "NotifyIcon")
         {
             WinNotifyIcon WinNotifyIcon00 = (WinNotifyIcon)wintest;
             WinNotifyIcon00.notifyIcon00.ContextMenu.MenuItems["notifyIconProgressBar"].Checked = true;
         }
     }
 }
Exemple #3
0
 private void CreatPurpleXAML_Loaded(object sender, RoutedEventArgs e)
 {
     foreach (Window wintest in System.Windows.Application.Current.Windows)
     {
         if (wintest.Name == "NotifyIcon")
         {
             WinNotifyIcon WinNotifyIcon00 = (WinNotifyIcon)wintest;
             WinNotifyIcon00.notifyIcon00.ContextMenu.MenuItems["notifyIconCreatePurple"].Checked = true;
         }
     }
 }