/// <summary> /// Setup the textboxes with the saved values /// </summary> private void intialiseTextboxes() { foreach (TextBox t in textboxDictionary.Values) { t.Text = hkc.getHotKeyFromId((HotkeyController.HotKeyId)t.Tag); } modifierComboBox.BeginUpdate(); modifierComboBox.Items.Clear(); modifierComboBox.Items.AddRange(hkc.getAllModifiers()); modifierComboBox.Text = hkc.getModifier().Description; currentModifierIndex = modifierComboBox.SelectedIndex; modifierComboBox.EndUpdate(); }