Example #1
0
        private void updateHighlightColors()
        {
            if (DesignMode)
            {
                return;
            }

            _mouseOverBackColor = BackColor.BlendWith(_highlightBackColor, _highlightMouseOverOpacity);
            _checkedBackColor   = BackColor.BlendWith(_highlightBackColor, _highlightCheckedOpacity);
            _focusBorderColor   = BackColor.BlendWith(_highlightBackColor, _highlightFocusOpacity);
        }