Пример #1
0
 //  程序关闭后对钩子进行释放
 private void OnWindowClosed(object sender, EventArgs e)
 {
     keyHook.Stop();
 }