Exemplo n.º 1
0
        public SpouseSettingsGroupVM(SpouseSettingGroup settingGroup)
        {
            SettingGroup            = settingGroup;
            this._settingProperties = new MBBindingList <SpouseSettingsPropertyVM>();
            List <SpouseSettingsProperty> list = settingGroup.SettingsProperties;

            list.ForEach((obj) => {
                this._settingProperties.Add(new SpouseSettingsPropertyVM(obj));
            });
            this.RefreshValues();
        }
Exemplo n.º 2
0
        public SpouseSettingGroup BuildGroup(String name)
        {
            if (null == Group)
            {
                Group = new List <SpouseSettingGroup>();
            }
            SpouseSettingGroup settingGroup = new SpouseSettingGroup(name);

            this.Group.Add(settingGroup);
            return(settingGroup);
        }