예제 #1
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);
        }
예제 #2
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);
        }
예제 #3
0
 public InteractivityExVM()
 {
     MouseEnterCmd = new Utils.RelayCommand(new Action <object>(MouseEntered), new Func <object, bool>(CanExecute));
     OnImageClick  = new RelayCommand(HandleOnImageClick);
 }