/// <summary> /// Goes back to the previous import step. /// </summary> public void PreviousStep() { CurrentStep.OnPreviousStep(); if (GetStepIndex() > 0) { while (GetStepIndex() > 0) { CurrentStep = _steps[GetStepIndex() - 1]; if (!CurrentStep.SkipOnPrevious) { break; } } CurrentStep.OnEnterStep(); } else if (Cancel != null) { Cancel(this, new EventArgs()); } }