Hello all,
I have an arraylist with objects of type Product (self defined type). This arraylist is a member of a windows form (compact framework).
Now i want to navigate through this arraylist, using buttons (next, previous) on the form.
I can go to the next item without problems (using enumerator), but how can i go to the previous item ?
Or is there another collection type that makes navigating easier ?
Any help is much appreciated...
I have an arraylist with objects of type Product (self defined type). This arraylist is a member of a windows form (compact framework).
Now i want to navigate through this arraylist, using buttons (next, previous) on the form.
I can go to the next item without problems (using enumerator), but how can i go to the previous item ?
Or is there another collection type that makes navigating easier ?
Any help is much appreciated...