I need to show a red dashed line with a red arrow at each end
e.g. >- - - - - -<.

The line has to be dragged over multi controls so I was using a usercontrol by setting the MaskPicture to a >- - - - - -< bitmap. This works, but the length of the >- - - - - -< line needs to be dynamic.

I already know the maximum length the line can be, so what I was thinking of doing was storing an image of the maximum length line without the right hand arrow in an image list.
e.g. >- - - - - - - - - - - -

Then, when I need to show the line somehow trim the >- - - - - - - - - - - - line to the correct size
e.g. >- - - - -

Then somehow add the < to image to make >- - - - -< and then set the MaskPicture to the new image.

How do I do this, or is there a better way?