Пример #1
0
 public void SetItemValue(VDFItem item, object value)
 {
     foreach (VDFItem cItem in items)
     {
         if (cItem == item)
         {
             cItem.value = value;
         }
     }
 }
Пример #2
0
 public void AddItemToCatagory(VDFCatagory catagory, VDFItem item)
 {
     foreach (VDFCatagory cat in catagories)
     {
         if (cat == catagory)
         {
             cat.AddItem(item);
         }
     }
 }
Пример #3
0
 public void RemoveCatagory(VDFItem item)
 {
     items.Remove(item);
 }
Пример #4
0
 public void AddItem(VDFItem item)
 {
     items.Add(item);
 }
Пример #5
0
 public void RemoveItem(VDFItem item)
 {
     items.Remove(item);
 }