Пример #1
0
 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));
 }
Пример #2
0
 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();
 }