Hi, I want to import a folder of images (up to 45) into a layout of pictureboxes. I know how to import one picture into one picturebox but I have no clue how I would import a folder of images into a bunch of pictureboxes. Any and all help is appreciated!
|
C#
Import multiple pictures into multiple pictureboxes |
Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Jul 19, 2022 02:29 AM)HFDone Wrote: loop? https://stackoverflow.com/a/27796769 I'm getting an error Code Non-invocable member FileDialog. "FileNames" cannot be used like a methodCode private void Button1_Click(object sender, EventArgs e)
Jul 20, 2022 07:45 AM
(This post was last modified: Jul 20, 2022 01:31 PM by HFDone.)
Code // OpenFileDialog openFileDialog1 = new OpenFileDialog(); // if you didnt add Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
(Jul 20, 2022 07:45 AM)HFDone Wrote: Works! Thank you! |
|
|

