public override void Remove(DrawingElement d)
 {
     elements.Remove(d);
 }
 public override void Add(DrawingElement d)
 {
     elements.Add(d);
 }
Пример #3
0
 public abstract void Remove(DrawingElement d);
Пример #4
0
 public abstract void Add(DrawingElement d);
Пример #5
0
 public override void Remove(DrawingElement c)
 {
     Console.WriteLine(
         "Cannot remove from a PrimitiveElement");
 }
Пример #6
0
 public override void Add(DrawingElement c)
 {
     Console.WriteLine(
         "Cannot add to a PrimitiveElement");
 }