i have a program that l have written. It is a picture box that contains smaller picture boxes. What l want to be able to do is to right click on a picture and use a popup menu to select join pictures and use a linecontrol to join the picture boxes together, by left clicking on the picture box that the line will be connected to. So the line will be connected from the picture box with the right button click on and to the picture box with the left click will be on.

I am a beginner so can you keep in simple please

Many thanks in advance