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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!