Sentence:  To force a window to repaint itself <WSD>programmatically</WSD>, you call the inherited <code>Invalidate()</code> method... 
Meaning of the word marked with <WSD> tags:  Through program code, rather than through a user interface.