예제 #1
0
파일: JpegDecoder.cs 프로젝트: jjg0519/OA
 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
파일: JpegDecoder.cs 프로젝트: JuRogn/OA
 private void UpdateProgress(int stepsFinished, int stepsTotal)
 {
     if (this.DecodeProgressChanged != null)
     {
         this.DecodeProgress.DecodeProgress = ((double) stepsFinished) / ((double) stepsTotal);
         this.DecodeProgressChanged(this, this.DecodeProgress);
     }
 }