protected virtual void OnProgress(ProgressEventArgs e) { EventHandler<ProgressEventArgs> myEvent = Progress; if (myEvent != null) { myEvent(this, e); } }