Пример #1
0
 public void showNextImport() {
   DlgImportWizard dlg = null;
   nextState();
   switch (currentImportState) {
     case ImportState.None:
       break;
     case ImportState.Validation:
       dlg = new DlgValidation(this);
       break;
     case ImportState.Developers:
       //dlg = new DlgImportDevelopers(fileName);
       break;
     case ImportState.Accounts:
       break;
     case ImportState.Fields:
       break;
     case ImportState.IsoReport:
       break;
     case ImportState.Last:
       break;
     default:
       break;
   }//switch
   if (dlg != null)
     dlg.ShowDialog();
 }
Пример #2
0
 public void showNextImport()
 {
     DlgImportWizard dlg = null;
       //nextState();
       switch (currentImportState) {
     case ImportState.None :
       nextState();
       break;
     case ImportState.Validation:
       dlg = new DlgValidation(this);
       break;
     case ImportState.Developers:
       dlg = new DlgImportDevelopersW(this);
       break;
     case ImportState.Accounts:
       dlg = new DlgImportAccountsW(this);
       break;
     case ImportState.Fields:
       dlg = new DlgNewFields(this);
       break;
     case ImportState.IsoReport:
       dlg = new DlgImportIsoReport(this);
       break;
     case ImportState.Last:
       stopped = true;
       break;
     default:
       break;
       }//switch
       if (dlg != null)
     dlg.ShowDialog();
 }