예제 #1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!_disposed)
            {
                if (disposing)
                {
                    if (_hotkeyService != null)
                    {
                        _hotkeyService.Dispose();
                    }
                }

                _hotkeyService = null;
                _disposed = true;
            }
        }
예제 #2
0
 public void RegisterHotkeys()
 {
     _hotkeyService = Hotkeys.Instance;
     PositionHotkeys = GetHotkeySettings();
     RegisterPositionHotkeys(PositionHotkeys);
 }