public virtual bool AddCellChild(UControl child) { if (child == this) { return(false); } if (!child.IsIndependent) { CLog.Error($"错误! 无法添非独立组件,Name:{GOName}"); return(false); } child.Parent = this; CellChilds.Add(child); return(true); }
protected void ClearChilds() { StaticChilds.Clear(); DynamicChilds.Clear(); CellChilds.Clear(); }