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