Esempio n. 1
0
 private void formMain_FormClosing(object sender, FormClosingEventArgs e)//退出前卸载热键
 {
     Hotkey.UnregisterHotKey(Handle, 100);
     Hotkey.UnregisterHotKey(Handle, 101);
 }