예제 #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);
     }
 }
예제 #2
0
 private void ReportProgress(string message, int percentage)
 {
     if (OnProgressChange != null)
     {
         ProgressReoprt report = new ProgressReoprt
         {
             Message     = message,
             PercentDone = percentage
         };
         OnProgressChange.Report(report);
     }
 }