Beispiel #1
0
 /// <summary> 窗口即将被关闭时卸载键盘钩子
 /// 窗口即将被关闭时卸载键盘钩子
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 public void frmShortcutKey_Show_FormClosing()
 {
     StopMoseMove = true;
     HookObj.CloseHook();
 }
Beispiel #2
0
 /// <summary> 窗口即将被关闭时卸载键盘钩子
 /// 窗口即将被关闭时卸载键盘钩子
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void frmShortcutKey_Show_FormClosing(object sender, FormClosingEventArgs e)
 {
     HookObj.CloseHook();
 }