T
TheLostLeaf
How do I change this :
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
To This:
for (int i = 1; i < 6; i++)
{
this.pictureBox+(i) = new System.Windows.Forms.PictureBox();
}
Do i need to put it into an array or something? Thanks for any help ...
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.pictureBox3 = new System.Windows.Forms.PictureBox();
this.pictureBox4 = new System.Windows.Forms.PictureBox();
this.pictureBox5 = new System.Windows.Forms.PictureBox();
To This:
for (int i = 1; i < 6; i++)
{
this.pictureBox+(i) = new System.Windows.Forms.PictureBox();
}
Do i need to put it into an array or something? Thanks for any help ...