How do I call paint event?

.net, c#, events, winforms

Solution

The Invalidate() Method will cause a repaint.

MSDN Link

Problem

My program draws text on its panel,but if I'd like to remove the text I have to repaint. How do I call(raise) the paint event by hand?

Original source