protected virtual void onUpdateProgress(ProgressEventArgs e) { EventHandler<ProgressEventArgs> handler = UpdateProgress; if(handler != null) { handler(this, e); } }
private void handleUpdateProgress(object sender, ProgressEventArgs e) { changeProgressBarValue(e.Progress); }