|
That's right! Use the LABEL control instead...
Also... if you want to use a circle and other controls similar to 6.0, you can generate a circle control yourself. The method is to write the method of drawing a circle in the custom control.
Private Bg As Color
Public Property BgColor() As Color
Get
Return Bg
End Get
Set(ByVal Value As Color)
Bg = Value
End Set
End Property
Protected Overrides Sub OnPaint(ByVal e As PaintEventArgs)
Dim Brush As SolidBrush = New SolidBrush(Color.Silver)
e.Graphics.FillEllipse(Brush, 0, 0, Width, Height)
e.Graphics.DrawEllipse(New Pen(Color.Black, 1), 0, 0, Width, Height)
End Sub
This is just a way to draw a circle. As long as you change the function in the ONPAINT event, you can customize the controls that are only available in 6.0, such as straight lines and arcs. |
|