Пример #1
0
        public void AddUI(UIElement ui)
        {
#if DEBUG
            if (this.owner == ui)
                throw new Exception("cyclic!");
#endif
            ui.ParentUI = this.owner;
            uiList.Add(ui);
        }
Пример #2
0
 public bool RemoveUI(UIElement ui)
 {
     //remove specific ui
     return uiList.Remove(ui);
 }
Пример #3
0
 public UICollection(UIElement owner)
 {
     this.owner = owner;
 }