[/COLOR]
[FONT=Verdana][COLOR=blue][FONT='Courier New']Public[/FONT][/COLOR][FONT='Courier New'] [COLOR=blue]Class[/COLOR] MyLabel[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] [COLOR=blue]Inherits[/COLOR] Label[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] [COLOR=blue]Protected[/COLOR] [COLOR=blue]Overrides[/COLOR] [COLOR=blue]Sub[/COLOR] OnPaint([COLOR=blue]ByVal[/COLOR] e [COLOR=blue]As[/COLOR] PaintEventArgs)[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] [COLOR=blue]MyBase[/COLOR].OnPaint(e)[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] ControlPaint.DrawBorder(e.Graphics, e.ClipRectangle, Color.Red, 1, _[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] ButtonBorderStyle.Solid, Color.Red, 1, ButtonBorderStyle.Solid, Color.Red, 1, _[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] ButtonBorderStyle.Solid, Color.Red, 1, ButtonBorderStyle.Solid)[/FONT][/FONT]
[FONT='Courier New'][FONT=Verdana] [COLOR=blue]End[/COLOR] [COLOR=blue]Sub[/COLOR][/FONT][/FONT]
[FONT=Verdana][FONT='Courier New'] [COLOR=blue]End[/COLOR] [COLOR=blue]Class[/COLOR][/FONT][COLOR=black]