I am trying to move a drawn line by grabbing it with the mouse.
The line have already been drawn with Graphics.DrawLine(Pen P, Point A, Point B).
Graphics.DrawLine(Pen P, Point A, Point B)
I suggest you create a rectangle that is the width of the line and the length of the line, then you can use
if(rectangle.Contains(Point p)) { // do your move }
You can also inflate the rectangle to make it easier to grab with:
rectangle.Inflate(1, 1);