예제 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="cat"></param>
 public void RemoveCategory(ElementList cat)
 {
     if (categories.Contains(cat))
     {
         cat.Remove(this);
         categories.Remove(cat);
     }
 }
예제 #2
0
 public static void RemoveImage(DataImage d)
 {
     if (Images.Contains(d))
     {
         Images.Remove(d);
         d.ClearCategories();
     }
 }