I have a custom label control with a custom property bordercolor.
in de property window of VS2010 you can change the bordercolor of the label
The custom label overrides the onPaint event
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
MyBase.OnPaint(e)
ControlPaint.DrawBorder(e.Graphics, e.ClipRectangle, _BorderColor, 1, _
ButtonBorderStyle.Solid, _BorderColor, 1, ButtonBorderStyle.Solid, _BorderColor, 1, _
ButtonBorderStyle.Solid, _BorderColor, 1, ButtonBorderStyle.Solid)
End Sub
If a change the bordercolor VS2010 does not immidiatly change the color on the form like the standard backcolor property of the label. I first have to click on the form to see the change i've made.
How can i see the changes immidiatly in design mode in VS2010