Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 protected void ClearChilds()
 {
     StaticChilds.Clear();
     DynamicChilds.Clear();
     CellChilds.Clear();
 }