Esempio n. 1
0
        private List<CT_Checkbox> checkboxField = new List<CT_Checkbox>(); // 0..*

        public CT_CheckboxList Copy()
        {
            CT_CheckboxList obj = new CT_CheckboxList();
            obj.checkbox = new List<CT_Checkbox>(this.checkbox);
            return obj;
        }
Esempio n. 2
0
 public CT_Checkbox AddNewCheckbox()
 {
     if (this.checkboxLstField == null)
     {
         this.checkboxLstField = new CT_CheckboxList();
         this.checkboxLstField.checkbox = new List<CT_Checkbox>();
     }
     var checkbox = new CT_Checkbox();
     this.checkboxLstField.checkbox.Add(checkbox);
     return checkbox;
 }