Beispiel #1
0
 private void NotifyChanges(int completedCount, int totalCount)
 {
     Application.SyncProgress progress = new Application.SyncProgress();
     progress.completedCount = completedCount;
     progress.totalCount     = totalCount;
     SetChanged();
     NotifyObservers(progress);
 }
Beispiel #2
0
 public void Run()
 {
     Application.SyncProgress progress = (Application.SyncProgress)data;
     if (progress.totalCount > 0 && progress.completedCount < progress.totalCount)
     {
         this._enclosing._enclosing.SetProgressBarIndeterminateVisibility(true);
     }
     else
     {
         this._enclosing._enclosing.SetProgressBarIndeterminateVisibility(false);
     }
 }
 private void NotifyChanges(int completedCount, int totalCount)
 {
     Application.SyncProgress progress = new Application.SyncProgress();
     progress.completedCount = completedCount;
     progress.totalCount = totalCount;
     SetChanged();
     NotifyObservers(progress);
 }