I created an array of PictureBox objects in my code like so:
PictureBox[] picturbox = new PictureBox[100];
Then I have this in Form’s load code:
picturbox[1] = new PictureBox();
picturbox[1].Image = Properties.Resources.img1;
picturbox[1].Visible = true;
picturbox[1].Location = new Point(0, 0);
this.Size = new Size(800, 600);
picturbox[1].Size = new Size(800, 600);
However, the PictureBox does not appear on the Form. When I do exact same command with PictureBox that was created by Drag & Drop, it works just fine.
You need to add the pictureBox to the Form: