예제 #1
0
 public override void Remove(Component component)
 {
     components.Remove(component);
 }
예제 #2
0
 public abstract void Remove(Component component);
예제 #3
0
 public override void Remove(Component component)
 {
     throw new NotSupportedException("File can't support the operation!");
 }
예제 #4
0
 public void RemoveChild(Component component)
 {
     children.Remove(component);
 }
예제 #5
0
 public abstract void Add(Component component);
예제 #6
0
 public abstract void Remove(Component c);
예제 #7
0
 public override void Remove(Component component)
 {
     children.Remove(component);
 }
예제 #8
0
 public void AddChild(Component component)
 {
     children.Add(component);
 }
예제 #9
0
 public void RemoveChild(Component component)
 {
     children.Remove(component);
 }
예제 #10
0
 public void addComponent(Component c)
 {
     content.Add(c);
 }
예제 #11
0
 public void removeComponent(Component c)
 {
     content.Remove(c);
 }
예제 #12
0
 public override void Add(Component component)
 {
 }
예제 #13
0
 public override void Remove(Component component)
 {
 }
예제 #14
0
 public void Remove(Component c)
 {
     Console.WriteLine("不支持该方法");
     return;
 }
예제 #15
0
 public override void Remove(Component c)
 {
     Console.WriteLine("Cannot remove from a leaf");
 }
예제 #16
0
 public override void Add(Component component)
 {
     _children.Add(component);
 }
예제 #17
0
 public abstract void Add(Component c);
예제 #18
0
 public override void Remove(Component component)
 {
     _children.Remove(component);
 }
예제 #19
0
 public override void Add(Component component)
 {
     children.Add(component);
 }
예제 #20
0
 public void Remove(Component component)
 {
     components.Remove(component);
 }
예제 #21
0
 public override void Add(Component c)
 {
     Console.WriteLine("Cannot add to a leaf");
 }
예제 #22
0
 public void AddChild(Component component)
 {
     children.Add(component);
 }