public virtual void AddRange(Lyquidity.Controls.ExtendedListViews.ToggleColumnHeader[] items) { lock(List.SyncRoot) { for (int i=0; i< items.Length; i++) { items[i].WidthResized += new EventHandler(OnWidthResized); List.Add(items[i]); } } }
public virtual int Add(Lyquidity.Controls.ExtendedListViews.ToggleColumnHeader colhead) { colhead.WidthResized += new EventHandler(OnWidthResized); return colhead.Index = List.Add(colhead); }