public abstract void Remove(DrawingElement d);
 public abstract void Add(DrawingElement d);
示例#3
0
 public override void Remove(DrawingElement c)
 {
     throw new Exception("Cannot remove from a PrimitiveElement");
 }
示例#4
0
 public override void Add(DrawingElement c)
 {
     throw new Exception("Cannot add to a PrimitiveElement");
 }
 public override void Remove(DrawingElement d)
 {
     Elements.Remove(d);
 }
 public override void Add(DrawingElement d)
 {
     Elements.Add(d);
 }