Im trying to create this:
Tag1 has the erdered list of objects O1, O3, O2 Tag2 has the erdered list of objects O1, O4
Every time I click a tag, I want to see the list of objects. So clicking Tag1 would show in a listbox:
O1
O3
O2
But I would like to keep the auto update so every time I edit or add/delete an object it auto updates (I suppose I need to implement something like the interfaces INotifyCollectionChanged and INotifyPropertyChanged).
I could use a database and have the tables Tag, Object and TagObject, this last one with the TagID and ObjectID. But I also would like to avoid databases, its a desktop application.
I could also use objects like ObservableCollections, but I have the problem of having duplicate objects. I can use references to the objects but it gets messy.
Anyone has any suggestion on how to do this?
Thank you