简体   繁体   English

在MenuStrip组合框中添加项目

[英]Adding Items at MenuStrip Combobox

I have a Menu Strip which contains a ComboBox. 我有一个包含ComboBox的菜单栏。 How do I put items in my ComboBox during the design stage, NOT at runtime? 如何在设计阶段而不是在运行时将项目放入ComboBox? I changed the property AutoCompleteSource = CustomSource and I put items inside AutoCompleteCustomSource and still, no luck. 我更改了属性AutoCompleteSource = CustomSource,然后将项目放入AutoCompleteCustomSource中,但是还是没有运气。 What should I do? 我该怎么办?

Select the menu bar item and go to "Properties" and "Items"/(Collection) 选择菜单栏项目,然后转到“属性”和“项目” /(集合)

Hope this helps 希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM