예제 #1
0
 private void ConnectInputSelectControls(MainForm form)
 {
     inputSelectConnector = ConnectListControl(DuoCommands.InputSelectCommand, form.inputSelectCombo, form.inputSelectLabel, CommandCategory.Input);
     inputSelectConnector.DelayAfterSet = 2000;
 }
 public InputPriorityDecimalConnector(DecimalCommand command, NumericUpDown control, Label label, CommandCategory category, ListConnector inputSelectConnector)
     : base(command, control, label, category)
 {
     this.inputSelectConnector = inputSelectConnector;
     inputSelectConnector.AddListControlChangeListener(new EventHandler(InputSelectControlChanged));
 }