EDN Admin
Well-known member
I have an object hierarchy that is a top level object that contains a collection of objects which in turn also contains another collection of objects. The hierarchy looks like this:<br/><br/>Environment<br/> -> Transports (a collection of transport objects)<br/> -> Listeners (a collection of listener objects)<br/><br/>The lowest level object in the hierarchy, the listener, is an object that has an event. What I want to do is just use the built in collection editor provided by Visual Studio to edit the collections, but I need an events tab to show up in the property grid when working with the listeners collection in order to set the event at design time. I have succeeded in adding the tab to the property grid, but it only works the first time the collection editor is opened. If I close the collection editor after adding a listener and then re-open the collection editor to edit the listener object I just added, the events tab is no longer there.<br/><br/>I am not sure what else I am missing here. Any help?<br/><br/>Code can be downloaded from:<br/><br/> http://www.mediafire.com/?sharekey=425289531d7584bea0f2f20c509059d9e04e75f6e8ebb871 <span style="color:#6b6b6b http://www.mediafire.com/?sharekey=425289531d7584bea0f2f20c509059d9e04e75f6e8ebb871
View the full article
View the full article