private void create_pictures(picture[] array, String[] p) { for (int i = 0; i < 25; i++) { array[i] = new picture(p[i]); listOfPictures_Doubled.Add(array[i]); //2 times because every picture is double listOfPictures_Doubled.Add(array[i]); // } }
public SelectedItem(picture p, PictureBox pb) { pic = p; picbox = pb; }