Exemplo n.º 1
0
 public void Insert(int index, ImageComboBoxItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     item.Host(Owner);
     Owner.OldItems.Insert(index, item);
 }
Exemplo n.º 2
0
 public int Add(ImageComboBoxItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException("item");
     }
     item.Host(Owner);
     return(Owner.OldItems.Add(item));
 }