C
Chan
Invalidate() is a member of System.Windows.Forms.Form. It marks an area of
the client window as invalid and, therefore, in need of repainting, and then
makes sure a Paint event is raised.
But why we are doing it this way. If we know that something needs painting,
why don't
we just call OnPaint() or some other method to do the painting directly?
Thank you very much
the client window as invalid and, therefore, in need of repainting, and then
makes sure a Paint event is raised.
But why we are doing it this way. If we know that something needs painting,
why don't
we just call OnPaint() or some other method to do the painting directly?
Thank you very much