Exemplo n.º 1
0
 public void UnregisterHotKeys()
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }
Exemplo n.º 2
0
 private void labelTest_MouseLeave(object sender, EventArgs e)
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }