예제 #1
0
파일: MyLabel.cs 프로젝트: aiwoba/HotKey
 public void UnregisterHotKeys()
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }
예제 #2
0
파일: Form1.cs 프로젝트: aiwoba/HotKey
 private void labelTest_MouseLeave(object sender, EventArgs e)
 {
     //注销Id号为100的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 100);
     //注销Id号为101的热键设定
     HotKeysManager.UnregisterHotKey(Handle, 101);
 }