예제 #1
0
 void thr_OnThreadIterationComplete(object sender, CompressionProgressChangedEventArgs e)
 {
     if (OnCompressionProgressChanged != null)
     {
         OnCompressionProgressChanged(this, e);
     }
 }
예제 #2
0
 static void compressor_OnProgressChanged(object sender, CompressionProgressChangedEventArgs e)
 {
     totalReadBytes += e.ReadBytes;
     Console.WriteLine("{0} Kb", totalReadBytes / 1024);
 }