Ejemplo n.º 1
0
        public AccountPageViewModel(Controller controller, SyncFolderWizardViewModel model)
            : base(controller)
        {
            this.model = model;
            Header = "Account";
            Subtitle = "Select the account";

            model.PropertyChanged += model_PropertyChanged;
            updateNextStatus();
        }
Ejemplo n.º 2
0
        public LocalPageViewModel(Controller controller, SyncFolderWizardViewModel model)
            : base(controller)
        {
            Header = "Local";
            Subtitle = "Select the local folder";

            this.model = model;
            updateNextStatus();
            PropertyChanged += model_PropertyChanged;

            InitializeCommand = new Utils.RelayCommand(init);
        }
Ejemplo n.º 3
0
        public RemotePageViewModel(Controller controller, SyncFolderWizardViewModel model)
            : base(controller)
        {
            Header = "Remote";
            Subtitle = "Select the remote folder";

            this.model = model;
            updateNextStatus();
            this.model.PropertyChanged += model_PropertyChanged;

            CommitCommand = new Utils.RelayCommand(setDefaultDisplayName);
        }