public override void Remove(DrawingElement c)
 {
     Console.WriteLine("Cannot remove from a Primitive Element");
 }
 public override void Add(DrawingElement c)
 {
     Console.WriteLine("Cannot add to a PrimitiveElement");
 }
Example #3
0
 public abstract void Remove(DrawingElement d);
Example #4
0
 public abstract void Add(DrawingElement d);
 public override void Remove(DrawingElement d)
 {
     elements.Remove(d);
 }
 public override void Add(DrawingElement d)
 {
     elements.Add(d);
 }