예제 #1
0
 void sync_ProgressUpdated(object sender, ProgressUpdatedEventArgs e)
 {
     view.UpdateProgress(e.Stage, e.Progress, e.Count);
 }
예제 #2
0
        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);
            }
        }