private void OnCellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex < 0) { e.Graphics.FillRectangle(Brushes.Aqua, e.CellBounds); e.Handled = true; } }