Question: How to repaint a drawing graphics on a window form in C#? the drawing is too big for the form, so it needs to be scrolled to see the whole. when scrolled back, the drawing does not do repaint. I can make it do repaint by other events like LocationChanged, Resize, Move, and etc, but not by the scroll.

Answer: Use the method Form.Refresh() on your code.\nin C#, add this code in the scroll event handler:\n\nthis.Refresh();\n\nI use "this", since the form itself has Refresh method. try it! :)
This question from the Yahoo Q&A forum is categorized in the topic: Family & Relationships