Пример #1
0
 public FilePatchingProgressChangedArgs(BackgroundFilePatcher.States currentState, int progressPercentage)
 {
     this.CurrentState       = currentState;
     this.ProgressPercentage = progressPercentage;
 }
Пример #2
0
 private void ReportProgress(BackgroundFilePatcher.States state, int percentage)
 {
     this._bgwWorker.ReportProgress(percentage, new FilePatchingProgressChangedArgs(state, percentage));
 }