Tag Archives: PictureBoxes

Use a loop to load pictures in C#

When the form loads, the following code loads pictures into the form’s PictureBoxes. private void Form1_Load(object sender, EventArgs e) { string dirname = Path.GetFullPath( Path.Combine(Application.StartupPath, @”..\..\”)); // Make an array holding the PictureBoxes. PictureBox[] pics = { PictureBox1, PictureBox2, PictureBox3, … Continue reading

Posted in graphics, image processing | Tagged , , , , , , , , , | Leave a comment