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