Example #1
0
        private void RaiseSelectedItem(CtrlExtendedListItemBase item)
        {
            ListItemEventHandler tmp = OnItemSelect;

            if (tmp != null)
            {
                tmp(item);
            }
        }
Example #2
0
        protected void OnDeleteItem(ListItemEventArgs e)
        {
            ListItemEventHandler handler = DeleteItem;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #3
0
        protected void OnAddItem(ListItemEventArgs e)
        {
            ModifyTime = DateTime.Now;
            //UpdateViews();

            ListItemEventHandler handler = AddItem;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #4
0
 public ColumnInfoCollection()
 {
     ItemInserted     += new ListItemEventHandler <ColumnInfo>(ColumnInfoCollection_ItemInserted);
     BeforeItemRemove += new ListItemEventHandler <ColumnInfo>(ColumnInfoCollection_BeforeItemRemove);
 }