Cell values being painted multiple times resulting in black unreadable mess

  • Thread starter Thread starter Mike VE
  • Start date Start date
M

Mike VE

Guest
I have a datagridview with an ado.net datasource. The visibility of various columns is set when the form is first show. In the scenario I am investigating the first column shows the email address and the second column shows the full name. When I make any attempt to resize the form the full name column is repainted multiple times with a slight offset and the result is an unreadable mess.

I have investigated and cannot find a cause. I have be able to work around it by controlling the e.Handled parameter of the CellPaint but how do I know that a resize has started and finished.


Mike VE

Continue reading...
 
Back
Top