Public Sub DrawHeader(ByVal g As Graphics) Dim ForeBrush As New SolidBrush(TheDataGrid.HeaderForeColor) Dim BackBrush As New SolidBrush(TheDataGrid.HeaderBackColor) Dim TheLinePen As New Pen(TheDataGrid.GridLineColor, 1) ......