5 pts.
 Event fires for all collection members when one member triggers?
I have a usercontrol that contains a collection as a list(of <custom class>). Within the collection class for this usercontrol I have a shared event that is raised when a collection member is added to the class. Within the usercontrol class I have an event that is triggered when the collection class' member added event fires. Finally, I have a flow layout panel on a form that contains a collection of these usercontrol objects. When a member is added to the collection of one of the usercontrols, I am seeing the member added event fire for every control in the flow layout panel. I have confirmed that each of the usercontrols in the flow layout panel are indeed unique objects and not some sort of duplicate reference. Any idea why this is happening or where to look to troubleshoot?

Software/Hardware used:
ASKED: March 5, 2009  6:08 PM
UPDATED: March 5, 2009  6:53 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _