private void MoveNext() { if (CurrentState.IsNextEnabled) { CurrentState = CurrentState.MoveNext(); } //CurrentState = new SalesTaxChoice(); }
public TheVM() { CurrentState = Factory.GetInitialState(); CurrentState.Activate(); MoveNextCommand = new RelayCommand(MoveNext); MoveBackCommand = new RelayCommand(MoveBack); MoveFinishCommand = new RelayCommand(MoveFinish); }