on Main form, create object of Form2. and check the condition for selected image, suppose if you have taken a checkbox for this.
Form2 objform2=new Form2();
objform.urcheckbox and check for whether it checked or not.
else loop through all the check boxes on this form and fetch the appropritae one.
let me know if nee more help on this