private void ComboBox_SelectedValueChanged(object sender, EventArgs e) { var comboBox = (ComboBox)sender; if (!Suspended && ComboBoxes.TryGetValue(comboBox, out var mask)) { KeyBinding.BindKey(mask, (Keys)comboBox.SelectedValue); SetValues(); } }
private void ComboBox_SelectedValueChanged(object sender, EventArgs e) { var comboBox = (ComboBox)sender; if (!Suspended && ComboBoxes.TryGetValue(comboBox, out var mask)) { KeyBinding.BindKey(mask, (Keys)comboBox.SelectedValue); SetValues(); } }