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