예제 #1
0
        public ControlCenterViewModel()
        {
            Model        = new ControlCenterModel();
            StateManager = new StateManager();
            Console      = new ConsoleVm();
            GridManager  = new ModuleGridManager(this);

            RemoveModuleState = new RemoveModuleStateVm(this);
            SaveModuleState   = new SaveModuleStateVm(GridManager.ModuleGrid, this);

            ReloadModuleButtonContexts();
        }
        public ControlCenterViewModel()
        {
            Model = new ControlCenterModel();
            StateManager = new StateManager();
            Console = new ConsoleVm();
            GridManager = new ModuleGridManager(this);

            RemoveModuleState = new RemoveModuleStateVm(this);
            SaveModuleState = new SaveModuleStateVm(GridManager.ModuleGrid, this);

            ReloadModuleButtonContexts();
        }