[Solved] How to pass an image from form to another form [closed]


Storing the image in an Image type variable and passing the variable by the constructor of your second form.
Something like this :

Image myImage = Image.FromFile("C:\\... 
Pathtotheimage... ");
MyForm form = new MyForm(myImage);

On the constructor side of your second form. Do something like this :

Public MyForm (Image image) {
//do something here with the image 
} 

I didn’t try to compile this code but you’ll have an idea to pass your Image to the second form

Hope it can help

1

solved How to pass an image from form to another form [closed]