private void RaiseSelectedItem(CtrlExtendedListItemBase item) { ListItemEventHandler tmp = OnItemSelect; if (tmp != null) { tmp(item); } }
protected void OnDeleteItem(ListItemEventArgs e) { ListItemEventHandler handler = DeleteItem; if (handler != null) { handler(this, e); } }
protected void OnAddItem(ListItemEventArgs e) { ModifyTime = DateTime.Now; //UpdateViews(); ListItemEventHandler handler = AddItem; if (handler != null) { handler(this, e); } }
public ColumnInfoCollection() { ItemInserted += new ListItemEventHandler <ColumnInfo>(ColumnInfoCollection_ItemInserted); BeforeItemRemove += new ListItemEventHandler <ColumnInfo>(ColumnInfoCollection_BeforeItemRemove); }