private void NewAnalysis_FormClosed(object sender, FormClosedEventArgs e) { HotKeyHelper.UnregisterHotKey(hkid); }
private void NewAnalysis_Load(object sender, EventArgs e) { hkid = HotKeyHelper.RegisterHotKey(Keys.OemSemicolon, KeyModifiers.Control); HotKeyHelper.HotKeyPressed += HotKeyHelper_HotKeyPressed; }