Hello Guys
Just a Newbie Question i guess
I did implement a Drag and Drop with 2 listBoxes (every Item Has a Record as Object)... After that i had Some Conditions wich needed to be checked. I had to check if certains items are Checked or not checked (the Rocord has a Property "IsChecked"). The Problem now is that i have 2 listboxes so i would have to check in First and second Listbox, wich would take many resources bc to check if a item is checked i have to Search it First so i would always have to iterate through both List's to find it and there is not just 1 item wich needs to be checked on so i would iterate so many times through my Lists. Any Good Solution ? i know my english is not so good so i wrote a Summary of my problem:
-2 ListBoxes
-Drag and Drop
-Every Item has a Record Stored wich referes to Data.
-Data is Record with a property "isChecked"
What i have to do:
-Every Time i drag an item in other List i have to check for Some items
-Are they Checked ? (the Property)
-lot of Computing needed if i iterate always through listboxes to search
Is there something like an observer wich checks if certain item is dragged to there and if so then store something ?