A
AAaron123
newItem and tsMenuItem are ToolStripMenuItems.
I'd like to add the click event in tsMenuItem to newItem.
Can't do this because Events is Protected:
newItem.Events.AddHandlers(tsMenuItem.Events);
Can't do this because Click must be on the left side:
newItem.Click += tsMenuItem.Click;
Is there some way I can extract the Click event from tsMenuItem.Events so
that I can do this:
newItem.Click += ??
Thanks in advance
I'd like to add the click event in tsMenuItem to newItem.
Can't do this because Events is Protected:
newItem.Events.AddHandlers(tsMenuItem.Events);
Can't do this because Click must be on the left side:
newItem.Click += tsMenuItem.Click;
Is there some way I can extract the Click event from tsMenuItem.Events so
that I can do this:
newItem.Click += ??
Thanks in advance