Hi, I'm currently working on a project that will need to use an array for a image. (Or a way to print one image multiple times in different locations). I have got this much of the code, yet it does not work.
- Note its compiled in vc++ .net 2005
Any help would be appreciated.
array<PictureBox^> ^picB = gcnew array<PictureBox^>(10);
for(Int32 i = 0; i < 10; ++i)
picB[i] = gcnew PictureBox;
picB[i]->Location = Point(i, i);
picB[i]->Size = Drawing::Size(20, 20);
picB[i]->Image = Image::FromFile("square.bmp");
Thanks in advance,