vb.net中的contextMenuStrip点击事件

发布于 2024-08-28 00:35:41 字数 140 浏览 14 评论 0原文

当用户右键单击控件时,在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

长安忆 2024-09-04 00:35:41

是的,使用 开幕活动。

Yes, use the Opening event.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文