Beispiel #1
0
        private void KeyboardShortcutsManager_KeyboardShortcutPressed(object sender, KeyboardShortcutPressedEventArgs e)
        {
            LOG.DebugFormat("KeyboardShortcutPressed - KeyboardShortcut: {0}", e.KeyboardShortcut);

            if (_activeForm == null)
            {
                LOG.Error("KeyboardShortcut received but there is no active form");
                return;
            }

            _activeForm.HandleKeyboardShortcut(e.KeyboardShortcut);
        }