Beispiel #1
0
 private void UnHookMouse()
 {
     if (_mouseListener != null)
     {
         _mouseListener.Dispose();
         _mouseListener = null;
     }
 }
 private void StopHooks()
 {
     try
     {
         KListener.Dispose();
         MListener.Dispose();
     }
     catch (NullReferenceException) { }
 }
Beispiel #3
0
 public void Dispose()
 {
     if (m_MouseListenerCache != null)
     {
         m_MouseListenerCache.Dispose();
     }
     if (m_KeyListenerCache != null)
     {
         m_KeyListenerCache.Dispose();
     }
 }