Exemple #1
0
        protected override WindowContent ParseContent(SystemWindow sw)
        {
            SystemComboBox slb = SystemComboBox.FromSystemWindow(sw);
            int            c   = slb.Count;

            string[] values = new string[c];
            for (int i = 0; i < c; i++)
            {
                values[i] = slb[i];
            }
            return(new ListContent("ComboBox", -1, sw.Title, values));
        }
Exemple #2
0
 internal override bool CanParseContent(SystemWindow sw)
 {
     return(SystemComboBox.FromSystemWindow(sw) != null);
 }