Is there an event that fires in vb.net just before a contextMenuStrip appears when the user right clicks on a control? I need to be able to control the content of the contextMenuStrip just prior to the menu strip appearing. Basically I want to be able to change the content of the contextMenu开发者_JS百科Strip just before it appears. Is this possible?
Yes, use the Opening event.
精彩评论