public override void Remove(ComponentComposite component)
 {
     Console.WriteLine("Cannot remove from a leaf");
 }
 public override void Add(ComponentComposite component)
 {
     Console.WriteLine("Cannot add to a leaf");
 }
 public override void Remove(ComponentComposite component)
 {
     _children.Remove(component);
 }
 public override void Add(ComponentComposite component)
 {
     _children.Add(component);
 }
 public abstract void Remove(ComponentComposite component);
 public abstract void Add(ComponentComposite component);