public void DoNext() { bindingSource1.EndEdit(); ExportRepository r = new ExportRepository(); ExportType exportType = r.GetExportType(ExportTypeId.RtiWorkbooks); exporter.ExportCulture = new CultureInfo(cbLanguages.SelectedValue.ToString()); exportType.Exporter = exporter; OnSwitchStep(new GenericExportStep(exportType, Translations.RtiWorkbookQuestions)); }
private void pcEpiExportClick_ClickOverride() { ExportRepository r = new ExportRepository(); ExportType t = r.GetExportType(ExportTypeId.PcEpi); t.Exporter = new PcEpiExporter(); WizardForm wiz = new WizardForm(new GenericExportStep(t), Translations.ExportsPcEpiDataForm); wiz.OnFinish = () => { }; wiz.ShowDialog(); }