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