title: ToolStrip Control, how to programmatically access click event
body: <p>I have the following code:</p>
  
  <pre><code>Private holdAllDataFromFile As New list(Of String)
  
  holdAllDataFromFile =  ReadWrite.ReadAll(FILE_PATH) 'Uses custom class to read/write.
  
  For Each item In holdAllDataFromFile.AsEnumerable 
      menuConnections.DropDownItems.Add(finalData(1).tostring ) 'save to menu
  Next
  </code></pre>
  
  <p>At run time, i wish to be able to click on those menu items and have them respond to events, i'm not sure on how to access them programmatically since there could be 1, 4, 10 different menu items, all with different names.</p>
  
  <p>I was looking at <a href="https://stackoverflow.com/questions/4070130/net-toolstripmenuitem-how-to-access-click-event-for-items-generated-while-for">this post</a> similar to mine, but i'm not sure if this is the right way for me to accomplish this. Any thoughts?</p>
  
  <p>Thanks</p>