Exemplo n.º 1
0
        public Dialog_ConstructionSetManager(ref ModelEnergyProperties libSource, bool returnSelectedOnly = false) : this()
        {
            libSource.FillNulls();

            this._returnSelectedOnly = returnSelectedOnly;
            this._vm             = new ConstructionSetManagerViewModel(libSource, this);
            Content              = Init(out var gd);
            this._vm.GridControl = gd;
        }
Exemplo n.º 2
0
        public Dialog_SHWManager(ref ModelEnergyProperties libSource, bool returnSelectedOnly = false, Func <string> roomIDPicker = default) : this()
        {
            libSource.FillNulls();

            this._returnSelectedOnly = returnSelectedOnly;
            this._vm             = new SHWManagerViewModel(libSource, this, roomIDPicker: roomIDPicker);
            Content              = Init(out var gd);
            this._vm.GridControl = gd;
        }