Пример #1
0
 public override void Remove(Component c)
 {
     children.Remove(c);
 }
Пример #2
0
 public override void Add(Component c)
 {
     children.Add(c);
 }
Пример #3
0
 public override void Remove(Component c)
 {
     Console.WriteLine("Can not remove from a leaf.");
 }
Пример #4
0
 public override void Add(Component c)
 {
     Console.WriteLine("Can not add to a leaf.");
 }
Пример #5
0
 public abstract void Remove(Component c);
Пример #6
0
 public abstract void Add(Component c);