示例#1
0
 /// <inheritdoc/>
 public virtual void RemoveChild(Base child)
 {
     if (child is ReportComponentBase)
     {
         objects.Remove(child as ReportComponentBase);
     }
 }
示例#2
0
 /// <inheritdoc/>
 public virtual void RemoveChild(Base child)
 {
     if (child is ChildBand && this.child == child as ChildBand)
     {
         Child = null;
     }
     else
     {
         objects.Remove(child as ReportComponentBase);
     }
 }