Respond to Multiple VSTO Context Menus in VB.Net
问题 Trying to build a VSTO w/ VB.Net. I did ask, it has to be VB.Net. Application Level ADDIN targeted at EXCEL My challenge is trying to build a context menu that has an indeterminate number of children. I can make the Menu, but I currently only get the onClick to fire for the last button. I have researched this quite thoroughly and I can not find a VB example. There are plenty examples in VB of adding a simple context menu. There are examples in C#, but you do something like this cb.Click +=