void sync_ProgressUpdated(object sender, ProgressUpdatedEventArgs e) { view.UpdateProgress(e.Stage, e.Progress, e.Count); }
private void OnProgressUpdate(string stage, int progress, int count) { var args = new ProgressUpdatedEventArgs(stage, progress, count); var handler = ProgressUpdated; if (handler != null) { handler(this, args); } }