Esempio n. 1
0
        public void add_element(web_element e)
        {
            this.eles.Add(e);
            e.view = this;

            if (!contains_element(e))
            {
                e.add_header();
            }

            e.add_html();

            string tp = e.GetType().Name;

            if (!this.types.Contains(tp))
            {
                this.types.Add(tp);
            }
        }
Esempio n. 2
0
 public bool contains_element(web_element e)
 {
     return(this.types.Contains(e.GetType().Name));
 }