Hello All,
I get the mouse move points (locations where I move the mouse get the x,y points).
I able to store the locations in array using List(Of Point) {Points.Add(e.Location) }
Now I want to DrawLines of mouse move by clicking DrawButton.
e.Graphics.DrawLines(blackPen, Points.ToArray) but i get the error (Argument Exception was unhandled) Parameter was invalid.
Please help me to draw the lines.
Thanks in advance.
I get the mouse move points (locations where I move the mouse get the x,y points).
I able to store the locations in array using List(Of Point) {Points.Add(e.Location) }
Now I want to DrawLines of mouse move by clicking DrawButton.
e.Graphics.DrawLines(blackPen, Points.ToArray) but i get the error (Argument Exception was unhandled) Parameter was invalid.
Please help me to draw the lines.
Thanks in advance.