Exemplo n.º 1
0
 private static void PrintProgress(IProgressBar progress, long index, long total)
 {
     if (progress != null)
     {
         progress.Dispaly(Convert.ToInt32((index / (total * 1.0)) * 100));
     }
 }
Exemplo n.º 2
0
 public void ProgressPrint(long index, long total)
 {
     if (_progress != null)
     {
         _progress.Dispaly(Convert.ToInt32((index / (total * 1.0)) * 100));
     }
 }