Label启用FixedSingle边框是这样的:
想要边框带点颜色怎么办?比如红色:
Private Sub Label1_Paint(sender As Object, e As PaintEventArgs) Handles Label1.Paint
ControlPaint.DrawBorder(e.Graphics, Label1.ClientRectangle, Color.Red, ButtonBorderStyle.Solid)
End Sub
效果: