O
ozbear
When creating my own classes derived from Control, when you
change some aspects of the object at design time, you need to
get the overridden OnPaint method called to reflect the visual
changes in the designer.
For example, changing a property, in the designer, that alters
a color.
I have been using the Invalidate method to cause a repaint in
design mode but Refresh works as well. Is there any practical
advantage of using one over the other?
Oz
change some aspects of the object at design time, you need to
get the overridden OnPaint method called to reflect the visual
changes in the designer.
For example, changing a property, in the designer, that alters
a color.
I have been using the Invalidate method to cause a repaint in
design mode but Refresh works as well. Is there any practical
advantage of using one over the other?
Oz