Esempio n. 1
0
 public PropertyDescriptorCollection GetProperties()
 {
     var pds = new PropertyDescriptorCollection(null);
     for (int i = 0; i < list.Count; i++)
     {
         var pd = new LabelPropertyDescriptor(this, i);
         pds.Add(pd);
     }
     return pds;
 }
Esempio n. 2
0
 public PropertyDescriptorCollection GetProperties()
 {
     var pds = new PropertyDescriptorCollection(null);
     for (int i = 0; i < list.Count; i++)
     {
         var pd = new LabelPropertyDescriptor(this, i);
         pds.Add(pd);
     }
     return pds;
 }