Because even the paint event gets called several times before the user is
done resizing the component. If it got
called just once after the resizing was done, that would
be just what I wanted.
LK
"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
I have an event handler that gets called whenever my panel is being
resized.Since a lot of painting is going on whenever my component is being
resized,I would like to paint my component only when the last resize event has
beenreceived; in other words, when the user has released the left mouse
button.
Anyone has any suggestions on how to implement this?
Why don't you handle the Paint event instead and do your painting
there?
Mattias
--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.