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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top