Hi,
Felling a bit silly, where is the line control on VB .Net, can not see it in the toolbox, have they changed the name???
Help,
Chris
Printable View
Hi,
Felling a bit silly, where is the line control on VB .Net, can not see it in the toolbox, have they changed the name???
Help,
Chris
Hi.
The line and shape controls doesn't exist anymore.
You have to all the drawing yourself.
Use the Paint event of whatever control you wish to draw the line to.
VB Code:
Public Sub Paint(Byval sender As Object, e as PaintEventArgs) Handles MyBase.Paint e.Graphics.DrawLine(Pens.Black,0,0,100,100) End Sub