Пример #1
0
 private void UpdateProgress(int stepsFinished, int stepsTotal)
 {
     if (this.DecodeProgressChanged != null)
     {
         this.DecodeProgress.DecodeProgress = ((double)stepsFinished) / ((double)stepsTotal);
         this.DecodeProgressChanged(this, this.DecodeProgress);
     }
 }
Пример #2
0
 private void UpdateProgress(int stepsFinished, int stepsTotal)
 {
     if (this.DecodeProgressChanged != null)
     {
         this.DecodeProgress.DecodeProgress = ((double) stepsFinished) / ((double) stepsTotal);
         this.DecodeProgressChanged(this, this.DecodeProgress);
     }
 }