OnItemAdded() приватный Метод

Raises the ItemAdded Event when a new item is added to the items collection.
private OnItemAdded ( System.Windows.Forms.ListViewItem lvi ) : void
lvi System.Windows.Forms.ListViewItem
Результат void
Пример #1
0
            /// <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);
            }