Yea. it sounds like you are telling it to paint itself to death!
Paint()
Paint()
........
Paint()
There is no time given to actually update the display (screen) because it is
stuck inside a very tight loop. Sort of like
while(true)
{
Paint();
}
Might want to look over your program flow and see if you can break it up
some. Maybe use a timer or something like that to update the display? Do you
really need to see an update on the screen every 10ms? Would every 100ms
work just as good?
"carqs123" <ca******@hotmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
I have an application that does alot of work and calculations. It
updates it's internal status on a windows form. When I debug single
step the numbers appear just right on the form. When I run the program
in normal mode the text boxes to which the info is displayed just blank
out. Sometimes the entire form just turns all white. I get the
impression that the updates are happening too fast or something like
that.
What's going on? Any ideas?