Ejemplo n.º 1
0
 // Constructors
 public UiComboBox(IUiElement element)
     : base(element)
 {
     this.listItems = new VolatileList <UiElement>(
         () => base.FindAll(By.ClassName("ComboBoxItem")),
         (item) => new UiElement(item));
 }
Ejemplo n.º 2
0
        // Constructors
        public UiChart(IUiElement element)
            : base(element)
        {
            this.intervals = new VolatileList <UiInterval>(
                () => base.FindAll(By.ClassName(UiInterval.ClassName)),
                (item) => new UiInterval(item, this));

            this.originLabel = new VolatileState <UiElement>(
                () => new UiElement(base.Find(By.ClassName(typeof(TimeAxis).Name)).Find("MajorTick#0")));
        }