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