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?
March 5, 2009 6:08 PM
March 5, 2009 6:53 PM