Hello!

I have 9 pictureboxes in a window's form.
I wish to set the image of all of these to one that I specify.

How can I do this with a foreach-loop, or is there any other way?

I tried to use:
Code:
   foreach (PictureBox pbx in this)
            {
                pbx.Image = imgBoard;
            }
but it doesn't work.

Thanks for any help at all!
Cheers,
Zolomon