title: Using Event Handlers for Multiple Objects
body: <p>I have 20 items in a <code>List&lt;myObject&gt;</code>. Each has an instance of a <code>UserControl</code> associated with it. Each object is accessible via a <code>MenuStrip</code> that needs to display the UserControl when the appropriate item is clicked. Currently I have an event handler for each of them, which works, but I was wondering if a way exists to simplify this and use a single event handler for all of the items.</p>
  
  <p>Is this possible? If so what is the best way to go about doing so.</p>
  
  <p>EDIT:Can anybody else provide any input on this issue? I'm having trouble with Mailo's answer. Essentially all I need to do is make an event handler that can display the appropriate <code>UserControl</code> stored in a <code>List&lt;myObject&gt;</code> as a property when the correct MenuStrip item is clicked. Is there a more straightforward way to do this? Ideally I'd like to make it so that a <code>foreach</code> loop can go through the list and set up the handlers.</p>
  
  <p>Is there nobody who can help me with this?</p>