Exemplo n.º 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();
        }
Exemplo n.º 2
0
 public ModuleGrid(ModuleGridManager manager)
 {
     Manager = manager;
     Modules = new List <IModule>();
 }
 public ModuleGrid(ModuleGridManager manager)
 {
     Manager = manager;
     Modules = new List<IModule>();
 }
        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();
        }