I clear my code trying to briefly highlight some things
Now I came across:
ImageList.Add(test.Properties.Resources.test1);
ImageList.Add(test.Properties.Resources.test2);
ImageList.Add(test.Properties.Resources.test3);
ImageList.Add(test.Properties.Resources.test4);
ImageList.Add(test.Properties.Resources.test5);
(15 of them) I wonder if this can be reduced with a for loop
Sort of:
for(int i=1; i<=15; i++)
ImageList.Add(test.Properties.Resources.test +i);
Now, of course, this will not work, but I do not know how to do it (if possible)
source
share