Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public void CancelHotkey(HotkeyBinding form)
 {
     form.Close();
     this.Visible = true;
 }