private void BuildWatcherPage_WorkingStateChanged(object sender, bool isWorking)
 {
     if (isWorking)
     {
         _trayNotifier.UseWorkingIcon();
     }
     else
     {
         _trayNotifier.UseNormalIcon();
     }
 }
Beispiel #2
0
 private void UpdateTrayIcon()
 {
     if (_isWorking)
     {
         _trayNotifier.UseWorkingIcon();
     }
     else
     {
         if (this.IsWorkerEnabled())
         {
             _trayNotifier.UseNormalIcon();
         }
         else
         {
             _trayNotifier.UseDisabledIcon();
         }
     }
 }