• +91 9723535972
  • info@interviewmaterial.com

DotNet Interview Questions and Answers

Question - How do you trigger the Paint event in System.Drawing?

Answer - Invalidate the current form, the OS will take care of repainting. The Update method forces the repaint. 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? 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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners