gn.
gn.

Reputation: 11

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

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 but i dont know how to use it after/inside the button click event. Please help.

Upvotes: 1

Views: 2008

Answers (1)

C.Evenhuis
C.Evenhuis

Reputation: 26436

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

Upvotes: 1

Related Questions