Ejemplo n.º 1
0
 protected void OnBuiltinReportProgress(ReportProgressIndicator pi, int percent_current, int percent_overall, string infomsg)
 {
     if (BuiltinReportProgress != null)
     {
         BuiltinReportProgress(this, new ReportProgressEvent()
         {
             Progress = pi,
             PercentageInCurrentStep = percent_current,
             PercentageOverall       = percent_overall,
             InfoMessage             = infomsg
         });
     }
 }
Ejemplo n.º 2
0
 public void OnProgress(ReportProgressIndicator progress, int percentageincurrentstep, int percentageoverall, string infomessage)
 {
     if (Progress != null)
     {
         var e = new ReportProgressEvent()
         {
             InfoMessage             = infomessage,
             PercentageInCurrentStep = percentageincurrentstep,
             PercentageOverall       = percentageoverall,
             Progress = progress
         };
         Progress(this, e);
     }
 }