public void Remove(Child Item) { Items.Remove(Item); if (ItemRemoved != null) ItemRemoved(Item); }
public void Add(int X, int Y,int Size, string Color) { var newone = new Child() { X = X, Y = Y, Size = Size, Color = Color }; Items.Add(newone); if (ItemAdded != null) ItemAdded(newone); }