コード例 #1
0
        public WizardViewModel(Wizard wizard)
        {
            _wizard = wizard;
            NextCommand = new RelayCommand(MoveToNextPage, CanMoveToNextPage);
            PreviousCommand = new RelayCommand(MoveToPreviousPage, CanMoveToPreviousPage);
            FinishCommand = new RelayCommand(Finish, o=>true);

            RefreshWizardPageViewModel();
        }
コード例 #2
0
 public FolderBrowserInputField(FolderBrowserDialog dialog)
 {
     _dialog = dialog;
     ChooseFolderCommand = new RelayCommand(ChooseFolder, o => true);
     InitializeComponent();
 }