void _copyEngine_OnUpdateDelete(CopyEngine.UpdateCopyEventArgs e) { ActionUpdateProgress(_overallProgress, e.increment); _copyViewer.StatusMessage = String.Format("Deleting: {0} %, Bytes So Far = {1}, Total Bytes = {2}", _overallProgress.Value, _SoFarBytes.ToString("#,##0"), _TotalBytes.ToString("#,##0")); _copyViewer.OverallProgress = _overallProgress; }
void _copyEngine_OnUpdateCount(CopyEngine.UpdateCopyEventArgs e) { ActionUpdateProgress(_currentActivityProgress, e.increment); _copyViewer.StatusMessage = String.Format("Counting: {0} %, Bytes So Far = {1}, Estimated total Bytes = {2}", _currentActivityProgress.Value, _SoFarBytes.ToString("#,##0"), _TotalBytes.ToString("#,##0")); _copyViewer.CurrentActivityProgress = _currentActivityProgress; }