L
Locke Nash Cole
I've made my first collection. Its a simple one but it works. Now I want
to populate a treeview from my collection to display to the user, easy
enough...
But now comes my dilemma.. say I add a context menu to the treeview item and
allow them to delete an item from the GUI how do I match the GUI up with the
collection so it deletes the item in the collection too? Cant simplly call
List.RemoveAt(index) because the GUI treeview items have no clue what the
index is in my collection... please help me
btw I used an inheritance of System.Collections.CollectionBase to make my
collection.
to populate a treeview from my collection to display to the user, easy
enough...
But now comes my dilemma.. say I add a context menu to the treeview item and
allow them to delete an item from the GUI how do I match the GUI up with the
collection so it deletes the item in the collection too? Cant simplly call
List.RemoveAt(index) because the GUI treeview items have no clue what the
index is in my collection... please help me
btw I used an inheritance of System.Collections.CollectionBase to make my
collection.