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");
 }
Exemplo n.º 3
0
 public abstract void Remove(DrawingElement d);
Exemplo n.º 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);
 }