Hi everyone!
I have been using Lists in classes as property but gott in a bit of a closed road now. I wanted to create a program where i have a list of people and the movies they like so..
<unreadable code removed>
Now with the code above i tryed to create a collection where i have multipale movies under one user, and i did it so that if i select a user from the Users list i can klick the button and it would move all the movies from the movie list to that user in the users list.
The problem is iam unable to retain the list of movies to display them in another list, i tryed many things but it didn't work. so now when klick i get the last saved values and i can't really specify anything from the list like a different use with his own movies etc..
So please can anyone tell me what i should use, or even search for in the internet because i don't seem to be able to search for the correct terms or the right things, And couple more questions :joyous:.
1. if i use Combobox to display the users, do they still have the movies attached to them?
2. how can i movie items from a Listbox to a List but one item at the time, i already tried IF, Foreach and they didn't work.
Thank you for your help!
I have been using Lists in classes as property but gott in a bit of a closed road now. I wanted to create a program where i have a list of people and the movies they like so..
<unreadable code removed>
Now with the code above i tryed to create a collection where i have multipale movies under one user, and i did it so that if i select a user from the Users list i can klick the button and it would move all the movies from the movie list to that user in the users list.
The problem is iam unable to retain the list of movies to display them in another list, i tryed many things but it didn't work. so now when klick i get the last saved values and i can't really specify anything from the list like a different use with his own movies etc..
So please can anyone tell me what i should use, or even search for in the internet because i don't seem to be able to search for the correct terms or the right things, And couple more questions :joyous:.
1. if i use Combobox to display the users, do they still have the movies attached to them?
2. how can i movie items from a Listbox to a List but one item at the time, i already tried IF, Foreach and they didn't work.
Thank you for your help!