Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 contextMenuStrip 并且总是有 3 个项目。第一项将是启动/停止以启用和禁用计时器。启用计时器时,我需要将文本更改为“停止”,禁用计时器时 -“开始”。第一项的动态文本更改最简单的解决方案是什么?
contextMenuStrip.Items[0].Text = "your-text-here";