private void OnNameTextBoxClick()
        {
            this.Focus();

            KeyboardState keyboardState   = Keyboard.GetState();
            bool          isCtrlKeyHeld   = keyboardState.IsKeyDown(Key.ControlLeft) || keyboardState.IsKeyDown(Key.ControlRight);
            bool          isShiftKeyHeld  = keyboardState.IsKeyDown(Key.ShiftLeft) || keyboardState.IsKeyDown(Key.ShiftRight);
            bool          isAltKeyHeld    = keyboardState.IsKeyDown(Key.AltLeft) || keyboardState.IsKeyDown(Key.AltRight);
            bool          isFKeyHeld      = keyboardState.IsKeyDown(Key.F);
            bool          isHKeyHeld      = keyboardState.IsKeyDown(Key.H);
            bool          isLKeyHeld      = keyboardState.IsKeyDown(Key.L);
            bool          isRKeyHeld      = keyboardState.IsKeyDown(Key.R);
            bool          isDeleteKeyHeld =
                keyboardState.IsKeyDown(Key.Delete) ||
                keyboardState.IsKeyDown(Key.BackSpace) ||
                keyboardState.IsKeyDown(Key.Escape);
            bool isBacktickHeld = keyboardState.IsKeyDown(Key.Grave);

            if (isFKeyHeld && isCtrlKeyHeld)
            {
                WatchVariableControl newControl = AddCopyToCustomTab();
                newControl.ToggleFixedAddress();
                return;
            }

            if (isFKeyHeld)
            {
                ToggleFixedAddress();
                return;
            }

            if (isHKeyHeld)
            {
                _watchVarWrapper.ToggleHighlighted();
                return;
            }

            if (isLKeyHeld)
            {
                _watchVarWrapper.ToggleLocked(FixedAddressList);
                return;
            }

            if (isRKeyHeld)
            {
                RenameMode = true;
                return;
            }

            if (isDeleteKeyHeld)
            {
                DeleteFromPanel();
                return;
            }

            if (isCtrlKeyHeld)
            {
                AddCopyToCustomTab();
                return;
            }

            if (isShiftKeyHeld)
            {
                NotifyPanelOfReodering();
                return;
            }

            if (isAltKeyHeld)
            {
                EnableCustomFunctionality();
                return;
            }

            if (isBacktickHeld)
            {
                AddToVarHackTab();
                return;
            }

            // default
            {
                _watchVarWrapper.ShowVarInfo();
                return;
            }
        }
 private void OnNameTextBoxDoubleClick()
 {
     this.Focus();
     _nameTextBox.Select(0, 0);
     WatchVarWrapper.ShowVarInfo();
 }