Beispiel #1
0
        public void AddElement(UI_Element element)
        {
            Panel p = GetElement() as Panel;

            p.Controls.Add(element.GetElement());
            elements.Add(element);
        }
Beispiel #2
0
        public void RemoveElement(UI_Element element)
        {
            Panel p = GetElement() as Panel;

            p.Controls.Remove(p);

            elements.Remove(element);
        }
Beispiel #3
0
        public void AddElement(UI_Element element)
        {
            ListBox lb = GetElement() as ListBox;

            lb.Items.Add(element.GetElement());
        }
Beispiel #4
0
 public void RemoveElement(UI_Element element)
 {
     _control.Controls.Remove(element.GetElement());
 }
Beispiel #5
0
 public void AddElement(UI_Element element)
 {
     _control.Controls.Add(element.GetElement());
     elements.Add(element);
 }