Ejemplo n.º 1
0
 private void BuildAttributes_CustomChoices()
 {
     if (oChoices != null)
     {
         CustomChoices.CustomChoicesAttributeList list = new CustomChoices.CustomChoicesAttributeList(oChoices.Items);
         ArrayList   attrs = new ArrayList();
         Attribute[] attrArray;
         attrs.Add(list);
         attrArray         = (System.Attribute[])attrs.ToArray(typeof(Attribute));
         oCustomAttributes = new AttributeCollection(attrArray);
     }
 }
Ejemplo n.º 2
0
 private void BuildAttributes_CustomChoices()
 {
     if (oChoices != null)
     {
         CustomChoices.CustomChoicesAttributeList list = new CustomChoices.CustomChoicesAttributeList(oChoices.Items);
         ArrayList attrs = new ArrayList();
         Attribute[] attrArray;
         attrs.Add(list);
         attrArray =  (System.Attribute[]) attrs.ToArray(typeof(Attribute));
         oCustomAttributes = new AttributeCollection(attrArray);
     }
 }