Basic Dot Net Question:
Download Questions PDF

With these events, why wouldn’t Microsoft combine Invalidate and Paint, so that you wouldn’t have to tell it to repaint, and then to force it to repaint?

Answer:

Painting is the slowest thing the OS does, so usually telling it to repaint, but not forcing it allows for the process to take place in the background.

Download Dot Net Interview Questions And Answers PDF

Previous QuestionNext Question
How do you trigger the Paint event in System.Drawing? How can you assign an RGB color to a System.Drawing.Color object?