Пример #1
0
 public void AddComponent(BaseUI ui)
 {
     ui.Parent = this;
     //     ui.UIRenderer = this.UIRenderer;
     this.Childs.Add(ui);
 }
Пример #2
0
 public void RemoveComponent(BaseUI component)
 {
     ContentValue = 0;
     this.Childs.Remove(component);
     Sort();
 }