private void HookMouse()
 {
     if (_settings.Get<bool>(_names.EnableMouseHook) && _mouseListener == null)
     {
         _mouseListener = new MouseListener();
         _mouseListener.OnLeftMouseDown += _mouseListener_OnLeftMouseDown;
         _mouseListener.OnRightMouseDown += MouseListener_OnRightMouseDown;
         _mouseListener.Hook();
         _logger.Log(">Mouse hooked!", LogLevel.Debug);
     }
 }
 private void UnHookMouse()
 {
     if (_mouseListener != null)
     {
         _mouseListener.Dispose();
         _mouseListener = null;
     }
 }