Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Cell values being painted multiple times resulting in black unreadable mess

$
0
0

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


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>