I am working a problem VB-2005 and I am a little confused. If I used the following, I can draw lines. But if I try to use what lesson calls for I cannot draw lines.
graphicsObject. DrawLine(New Pen(Color.Black ), _
e.X, e.Y, DIAMETER, DIAMETER)
Versus
graphicsObject. DrawLine(New Pen(Color.Black ), _
x1, y1, x2, y2)
is this because I used the following statement ealier in the program?
' set diameter of MouseDown line
Private Const DIAMETER As Integer = 8
graphicsObject. DrawLine(New Pen(Color.Black ), _
e.X, e.Y, DIAMETER, DIAMETER)
Versus
graphicsObject. DrawLine(New Pen(Color.Black ), _
x1, y1, x2, y2)
is this because I used the following statement ealier in the program?
' set diameter of MouseDown line
Private Const DIAMETER As Integer = 8
Comment