コード例 #1
0
        /// <summary>Draws the selector line.</summary>
        /// <param name="graphics">The specified graphics to draw on.</param>
        /// <param name="rectangle">The rectangle.</param>
        private void DrawSelectorLine(Graphics graphics, Rectangle rectangle)
        {
            Rectangle selectorRectangle = GraphicsManager.ApplyAnchor(_selectorAlignment, rectangle, _selectorThickness);

            graphics.FillRectangle(new SolidBrush(_tabSelector), selectorRectangle);
        }