I drawed a line using a control.
Drawing a green line so if ill change the control size in the designer i will not have to update it all the time in my code.
Now what i want to do is the move this line to the right by 10 pixels.
So i did
But my problem is i drawed another line on axis X on the control bottom and i need to move the first line by 10 but also take care not only about the green line axis X ( wich i moved by 10 pixels ) but also take care about the green line with the control
top margin and bottom marging.
This is the two lines after i added the first one 10 pixels and after i removed minus 10 pixels from the red line:
g.DrawLine(penRed, myControl1.Left, myControl1.Bottom-10, myControl1
View Complete Post