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?
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?
Call control.invalidate and the paint event will be raised.