/// <summary>
 /// Removes the specified d.
 /// </summary>
 /// <param name="d">The d.</param>
 public override void Remove(AbstractDrawingElement d)
 {
     this._elements.Remove(d);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes the specified c.
 /// </summary>
 /// <param name="c">The c.</param>
 public override void Remove(AbstractDrawingElement c)
 {
     Console.WriteLine("Cannot remove from a PrimitiveElement");
 }
 /// <summary>
 /// Adds the specified d.
 /// </summary>
 /// <param name="d">The d.</param>
 public override void Add(AbstractDrawingElement d)
 {
     this._elements.Add(d);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Adds the specified c.
 /// </summary>
 /// <param name="c">The c.</param>
 public override void Add(AbstractDrawingElement c)
 {
     Console.WriteLine("Cannot add to a PrimitiveElement");
 }