Greetings all,
I found the following solution:
Create a point List:
List<point> pointStart = new List<point>();
List<point> pointEnd = new List<point>();
Get a new point and add it to the list:
pointStart.Add(pStart);
pointEnd.Add(pEnd);
Then with for cicle:
for (int x = 0; x < pointEnd.Count; x++)
{
g.DrawLine(pen2, pointStart[x], pointEnd[x]);
}
Maybe not the best solution, but it works...
I am working in another solution since this is fast but limited in points stored ...
I wish to acknowledge the assistance provided by Sergey.
Rgds
Jose