示例#1
0
 public virtual void RemoveChild(CustomShape shape)
 {
     // remove a child.
     children.Remove(shape);
 }
示例#2
0
 public void AddChild(CustomShape shape)
 {
     // add a custom shape to the group.
     children.Add(shape);
 }