예제 #1
0
 public override void Add(DrawingElement d)
 {
     Console.WriteLine("Cannot add to a PrimitiveElement");
 }
예제 #2
0
 public override void Remove(DrawingElement d)
 {
     Console.WriteLine("Cannot remove from a PrimitiveElement");
 }
 public override void Remove(DrawingElement d)
 {
     elements.Remove(d);
 }
 public override void Add(DrawingElement d)
 {
     elements.Add(d);
 }
 public abstract void Remove(DrawingElement d);
 public abstract void Add(DrawingElement d);