public override void Remove(Component c) { //Leaf类空实现 }
public override void Remove(Component component) { _children.Remove(component); }
public override void Add(Component c) { //Leaf类空实现 }
public override void Add(Component component) { _children.Add(component); }