Ejemplo n.º 1
0
        public Page3(NavigationWindowService <InitializeData> service)
        {
            InitializeComponent();

            var model = new Page3Model(service.Share);

            model.CanChenged += Model_CanChenged;
            DataContext       = new ViewModels.Page3ViewModel(service, model);
        }
Ejemplo n.º 2
0
        public Page3ViewModel(NavigationWindowService <InitializeData> bindableValue, Page3Model model) : base(bindableValue?.NavigationValue)
        {
            this.model = model;

            GetPathBtClick    = new DelegateCommand(GetPathBt_Click);
            AutoSearchBtClick = new DelegateCommand(AutoSearchBt_Click);

            ServerConfigPathText = model.ToReactivePropertyAsSynchronized(m => m.ServerConfigPathText);
        }