Bug of C#?

  • Thread starter Thread starter bobo
  • Start date Start date
B

bobo

I created a user control in C# and called Invalidate() and Update() member
functions of this control, but the window isn't updated as I expected. Some
part of it cannot be redrawed unless I invalidate it with another window
moving across it. Is it a bug with C#?
Thanks.
 
bobo said:
I created a user control in C# and called Invalidate() and Update() member
functions of this control, but the window isn't updated as I expected.
Some
part of it cannot be redrawed unless I invalidate it with another window
moving across it. Is it a bug with C#?

No, if anything it is a bug in the framework. You'd probably be best off
posting this to a
winforms group.

However, how do you know it isn't being redrawn? Are you overloading
OnPaint?
 
Back
Top