Esempio n. 1
0
 /// <summary>
 /// Goes forward to the next import step.
 /// </summary>
 public void NextStep()
 {
     if (!IsLastStep())
     {
         if (CurrentStep.OnNextStep())
         {
             CurrentStep = _steps[GetStepIndex() + 1];
             CurrentStep.OnEnterStep();
         }
     }
     else if (Finished != null)
     {
         Finished(this, new EventArgs());
     }
 }