Beispiel #1
0
 public abstract bool Contains(DrawingElement d);
Beispiel #2
0
 public abstract void Remove(DrawingElement d);
Beispiel #3
0
 public override void Remove(DrawingElement d)
 {
     _elements.Remove(d);
 }
Beispiel #4
0
 public abstract void Add(DrawingElement d);
Beispiel #5
0
 public override bool Contains(DrawingElement d)
 {
     if (_elements.Contains(d))
         return true;
     return false;
 }
Beispiel #6
0
 public override void Add(DrawingElement d)
 {
     _elements.Add(d);
 }
 public override void Remove(DrawingElement c)
 {
     Console.WriteLine(
       "Cannot remove from a PrimitiveElement");
 }
 public override bool Contains(DrawingElement d)
 {
     return false;
 }
 public override void Add(DrawingElement c)
 {
     Console.WriteLine(
       "Cannot add to a PrimitiveElement");
 }