开发者

How do I repaint a form after it was restored from a minimized state?

开发者 https://www.devze.com 2022-12-27 14:18 出处:网络
I have a form in which i paint a waveform on a button click that is as soon as i click button, the waveform displays. Now when i minimize the form and maximize it again, the waveform disappears.How to

I have a form in which i paint a waveform on a button click that is as soon as i click button, the waveform displays. Now when i minimize the form and maximize it again, the waveform disappears.How to repaint it? I have seen people using paint event b开发者_JAVA百科ut i dont know how to use it after/inside the button click event. Please help.


If you call Control.Invalidate(), the Paint event will occur.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号