public WizardViewModel(Wizard wizard) { _wizard = wizard; NextCommand = new RelayCommand(MoveToNextPage, CanMoveToNextPage); PreviousCommand = new RelayCommand(MoveToPreviousPage, CanMoveToPreviousPage); FinishCommand = new RelayCommand(Finish, o=>true); RefreshWizardPageViewModel(); }
public FolderBrowserInputField(FolderBrowserDialog dialog) { _dialog = dialog; ChooseFolderCommand = new RelayCommand(ChooseFolder, o => true); InitializeComponent(); }