Ejemplo n.º 1
0
 private void ReportProgress(string message, int percentage)
 {
     if (OnProgressChange != null)
     {
         var report = new ProgressReoprt();
         report.Message     = message;
         report.PercentDone = percentage;
         OnProgressChange.Report(report);
     }
 }
Ejemplo n.º 2
0
 private void ReportProgress(string message, int percentage)
 {
     if (OnProgressChange != null)
     {
         ProgressReoprt report = new ProgressReoprt
         {
             Message     = message,
             PercentDone = percentage
         };
         OnProgressChange.Report(report);
     }
 }