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 中的所有项目。
有人可以帮我吗?
我正在尝试这个,但没有成功:
For Each it As ToolStripItem In Me.ContextMenuStrip1.Items
谢谢!
这个错误对我来说很清楚=)。Next在循环结束的地方添加单词。
Next
For Each it As ToolStripItem In Me.ContextMenuStrip1.Items 'Loop Contents Next