I have a class that inherits from NameObjectCollectionBase. For
simplicity, the collection is called reports, and the individual
objects in the collect are called report items. Each report item has a
property called .value that throws an event everytime the value
changes.
What I would like to know is if there is a way to create event handlers
at the collection level. Otherwords, can reports handle events for the
report item collection? Any thoughts?
gordigor - 21 Nov 2006 04:43 GMT
I found the solution I was looking for.
http://groups.google.com/group/microsoft.public.dotnet.framework/browse_thread/t
hread/46215ddab25ed956/792e407b54874774?lnk=st&q=event+collection+.net&rnum=4&hl
=en#792e407b54874774
> I have a class that inherits from NameObjectCollectionBase. For
> simplicity, the collection is called reports, and the individual
[quoted text clipped - 5 lines]
> at the collection level. Otherwords, can reports handle events for the
> report item collection? Any thoughts?