Hey guys,

I'm doing a class called "Greyhound" (I need to do a greyhound race for a book)

Each greyhound has a corresponding picture box because they race along a horizontal track. So, my question is, let's say you have an instance of PictureBox:

PictureBox MyPictureBox = new PictureBox();

What is the code to set a certain picture box to that variable?

Thanks,
Zephyr-

MyPictureBox.Image = <some bitmap>

If I understand you right, you want

MyPictureBox = this.picturebox1;

If I understand you right, you want

MyPictureBox = this.picturebox1;

Perfect. Thanks. Solved problem.