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