Пример #1
0
        protected static ComboData Combo(string name, params KeyPress[] keySequence)
        {
            var data = new ComboData(name);

            foreach (var keyPress in keySequence)
            {
                data.Add(keyPress);
            }

            return(data);
        }
Пример #2
0
 public ComboBuilder Combo(string name)
 {
     _currentCombo = new ComboData(name);
     _combos.Add(_currentCombo);
     return(this);
 }
Пример #3
0
 public ComboBuilder(string firstComboName)
 {
     _currentCombo = new ComboData(firstComboName);
     _combos.Add(_currentCombo);
 }