Ejemplo n.º 1
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);
     }
 }
Ejemplo n.º 2
0
 void input_BuiltinReportProgress(object sender, ReportProgressEvent e)
 {
     OnBuiltinReportProgress(e.Progress, e.PercentageInCurrentStep, e.PercentageOverall, e.InfoMessage);
 }