Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个表单,我在单击按钮时绘制波形,只要单击按钮,波形就会显示。现在当我最小化表格并再次最大化时,波形消失了。如何重新绘制它?我见过人们使用绘画事件,但我不知道如何在按钮点击事件之后/内部使用它。请帮忙。
如果调用 Control.Invalidate(),Paint 事件将发生。