A simple array:
int array[3]={1,2,3};
In GUI, I want to make the picturebox a element of an array, like:
XXX array[3]={pictureBox1, pictureBox2, pictureBox3};
so what is "XXX"?
By doing this I would like to control whether a pictureBox is visible or not, but the picturebox number depends on a changing variable. For example:
if(i=1)
array[0]->Visible=1;
Is this approach possible?