Esempio n. 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);
        }
Esempio n. 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);
            }
        }
Esempio n. 3
0
 public string MakePath(CItem _item)
 {
     string _path = ""; 
     _path = Session._path + Session.__pathPrefix + @"\" + _item.ProducerId + " - " + _item.Id;
     return path = _path;
 }
Esempio n. 4
0
 abstract public void Remove(CItem item);