示例#1
0
        public void Remove(CItem item)
        {
            string type = item.Get()["parent_type"];

            if (!lists.ContainsKey(type))
            {
                return;
            }

            CCategorizedList list;

            list = lists[type];
            list.Remove(item);
        }
示例#2
0
        public override void Remove(CItem item)
        {
            Dictionary <string, string> t = item.Get();

            List <CNotebook> list = lists[item.Get()["parent_type"]];

            if (!lists.ContainsKey(item.Get()["parent_type"]))
            {
                return;
            }

            if (list.Contains(item))
            {
                list.Remove((CNotebook)item);
            }
        }
示例#3
0
 public string MakePath(CItem _item)
 {
     string _path = ""; 
     _path = Session._path + Session.__pathPrefix + @"\" + _item.ProducerId + " - " + _item.Id;
     return path = _path;
 }
示例#4
0
 abstract public void Remove(CItem item);