public abstract void Remove(DrawingElement d);
 public override void Remove(DrawingElement d)
 {
     elements.Remove(d);
 }
 public abstract void Add(DrawingElement d);
 public override void Remove(DrawingElement c)
 {
     Console.WriteLine("Cannot remove from a PrimitiveElement");
 }
 public override void Add(DrawingElement d)
 {
     elements.Add(d);
 }
示例#6
0
 public override void Remove(DrawingElement c)
 {
     Console.WriteLine(
         "Cannot remove from a PrimitiveElement");
 }
 public override void Add(DrawingElement c)
 {
     Console.WriteLine("Cannot add to a PrimitiveElement");
 }
示例#8
0
 public override void Add(DrawingElement c)
 {
     Console.WriteLine(
         "Cannot add to a PrimitiveElement");
 }
示例#9
0
 public abstract void Remove(DrawingElement d);
示例#10
0
 public abstract void Add(DrawingElement d);
示例#11
0
 public override void Remove(DrawingElement d)
 {
     elements.Remove(d);
 }
示例#12
0
 public override void Add(DrawingElement d)
 {
     elements.Add(d);
 }