Hi folks,
I have custom painting code that renders data from a datatable. The
datatable can be refreshed with new rows being added and the old ones
being deleted. As this happens async, I frequently get the nasty red
cross on my controls.
What is a good pattern for handling this scenario? Do I set a global
IsDataBeingUpdated flag and prevent painting while the flag is true?
Thanks!
Kevin Spencer - 30 Oct 2006 20:23 GMT
See http://msdn2.microsoft.com/en-us/netframework/aa497373.aspx#A9a16q83u

Signature
HTH,
Kevin Spencer
Microsoft MVP
Short Order Coder
http://unclechutney.blogspot.com
The devil is in the yada yada yada
> Hi folks,
>
[quoted text clipped - 7 lines]
>
> Thanks!