本文介绍了如何调用油漆事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的程序在其面板上绘制文本,但如果我想删除我必须重新绘制的文本。
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?
推荐答案
Invalidate()方法将导致重绘。
The Invalidate() Method will cause a repaint.
这篇关于如何调用油漆事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!