private void AddControl(GuiControl guiControl) { children.Add(guiControl); Gui.AddControl(guiControl); Gui.InvalidateVisual(); Gui.InvalidateLayout(); }
internal void AddControl(GuiControl control) { control.ZIndex = this.control_list.Count; this.control_list.Add(control); }