Beispiel #1
0
 public void ProcessHotkey(Hotkeys hotkey, HotkeyBinding form, TextBox textBox)
 {
     form.Close();
     textBox.Text = hotkey.subKey.ToString() + "," + hotkey.mainKey.ToString();
     textBox.Tag  = hotkey;
     SaveHotkeys();
     this.Visible = true;
 }
Beispiel #2
0
 public void CancelHotkey(HotkeyBinding form)
 {
     form.Close();
     this.Visible = true;
 }