vb.net中的contextMenuStrip点击事件
当用户右键单击控件时,在 contextMenuStrip 出现之前,vb.net 中是否会触发一个事件?我需要能够在菜单条出现之前控制 contextMenuStrip 的内容。基本上我希望能够在 contextMenuStrip 出现之前更改它的内容。这可能吗?
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 contextMenuStrip just before it appears. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,使用 开幕活动。
Yes, use the Opening event.