Exemple #1
0
        private void Dt_RowDeleting(object sender, DataRowChangeEventArgs e)
        {
            IItemList list = GetDataList(scen);
            T         p    = (T)list.GetGameObject((int)e.Row["id"]);

            list.Remove(p);
        }
Exemple #2
0
        public virtual bool RemoveOperator(IOperator op)
        {
            var tOp = op as T;

            if (tOp == null)
            {
                return(false);
            }
            return(operators.Remove(tOp));
        }