T
tiger79
Hi,
I have placed the next code :
ArrayList myAL = new ArrayList();
right after the InitializaComponent. I'd like to be able to add objects to
this arraylist from anywhere in the program (so also in a buttonClick
event). I have tried placing public in front of it but that won't work. How
do I manage to obtain the wanted result ?
I have placed the next code :
ArrayList myAL = new ArrayList();
right after the InitializaComponent. I'd like to be able to add objects to
this arraylist from anywhere in the program (so also in a buttonClick
event). I have tried placing public in front of it but that won't work. How
do I manage to obtain the wanted result ?