Example #1
0
 private void HotkeyChanged(HotKey hotkey)
 {
     lbMsg.Text = resources.GetString("settingSuccess");
 }
Example #2
0
 public static void Set(HotKey hotkey)
 {
     Settings.Hotkeys.Set(hotkey);
 }
Example #3
0
 private static string GetHotkeyText(HotKey hotkey)
 {
     return(hotkey.HasHotkey() ? hotkey.ToString() : "无");
 }
Example #4
0
 private void btnExit_Click(object sender, EventArgs e)
 {
     HotKey.Bind();
     MainForm.Instance.UpdateTooltip();
     Close();
 }