private void DrawColumnDrag(PaintEventArgs e) { if (_columnDown != null && _currentX.HasValue && _currentY.HasValue && IsHoveringOnColumnCell) { int x1 = _currentX.Value - (_columnDown.Width.Value / 2); int y1 = _currentY.Value - (CellHeight / 2); int x2 = x1 + _columnDown.Width.Value; int y2 = y1 + CellHeight; Gdi.SetSolidPen(_backColor); Gdi.DrawRectangle(x1, y1, x2, y2); Gdi.PrepDrawString(NormalFont, _foreColor); Gdi.DrawString(_columnDown.Text, new Point(x1 + CellWidthPadding, y1 + CellHeightPadding)); } }