I'm unable to make my pictureboxes to be shown on form. Am i doing it wrong or? This is my code:
static Bitmap[] pictures = new Bitmap[9];
PictureBox[] picBox= new PictureBox[9];
on the constructor :
pictures[1] = new Bitmap(@"1.1Bright.jpg");
* picBox[1].Location = new System.Drawing.Point(25, 7);
picBox[1].SizeMode = PictureBoxSizeMode.StretchImage;
picBox[1].ClientSize = new Size(53, 40);
picBox[1].Image = pictures[1];
I keep getting nullreferenceexception error on *