private OnItemAdded ( System.Windows.Forms.ListViewItem lvi ) : void | ||
lvi | System.Windows.Forms.ListViewItem | |
return | void |
/// <summary> /// New implementation of Add method hides Add method defined on base class /// and causes an event to be sourced informing the parent about item additions. /// </summary> /// <param name="key"></param> /// <param name="text"></param> /// <param name="imageIndex"></param> /// <returns></returns> public new ListViewItem Add(string key, string text, int imageIndex) { ListViewItem item = base.Add(key, text, imageIndex); _Owner.OnItemAdded(item); return(item); }