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