As JohnH says, use a List(Of Point) to store the values. If you want to draw lines through all the points though, you'll need to call DrawLines rather than DrawLine. It takes an array of Points so you can call ToArray on your List to get one.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.