Apparently, you cannot add anything to something which does not exist. Equally apparent thing is that you never need it. Something which does not exist cannot help.
Your problem is very simple. You need to add an event handler to an invocation list of an event of the existing menu item, the one you just created. Just do it:
class ToolStripItemData {
}
System.Windows.Forms.ToolStripItem.Click item =
new System.Windows.Forms.ToolStripDropDownItem();
item.Tag = new ToolStripItemData();
item.Click += (sender, eventArgs) => {
System.Windows.Forms.ToolStripItem item =
(System.Windows.Forms.ToolStripItem)sender;
ToolStripItemData carData = (ToolStripItemData)item.Tag;
}
In case you use C# v.2, you need to use older (longer) syntax for anonymous delegate instance, with explicit type declaration:
item.Click += delegate(object sender, System.EventArgs eventArgs) {
}
See
System.Windows.Forms.ToolStripItem.Click
:
http://msdn.microsoft.com/en-us/library/system.windows.forms.toolstripitem.click.aspx[
^].
—SA