0

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-

3
Contributors
3
Replies
4
Views
6 Years
Discussion Span
Last Post by Zephyr-
0

If I understand you right, you want

MyPictureBox = this.picturebox1;

Perfect. Thanks. Solved problem.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.