예제 #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();
 }