Beispiel #1
0
 /// <summary>
 /// 释放钩子
 /// </summary>
 private void FreeConfig()
 {
     if (_listener != null)
     {
         _listener.StopListen();
     }
     if (_hotKey != null && _hotKey.IsRegistered)
     {
         _hotKey.UnRegister();
     }
 }
Beispiel #2
0
 public void StopListen()
 {
     _listener.StopListen();
 }