1234567891011
public: array<Image^> ^imageArray ; array<String^>^ names; array<int> ^CurrentImage; Form1(void) { System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Form1::typeid)); InitializeComponent(); Random ^Rnd = gcnew Random(); for(int r=0;r<16;r++) CurrentImage[r]=Rnd->Next(101);
array<int> ^CurrentImage = gcnew arrayt<int>