如何在组合框中添加复选框?

问题描述:





如何在动态组合框中添加多个复选框?请提示?



谢谢,

codehub。

Hi,

How to add the multiple check boxes in combo box dynamically? Please suggest?

Thanks,
codehub.

此链接可以帮到你



CheckBox ComboBox扩展ComboBox类及其项目 [ ^ ]
this link may helps you

CheckBox ComboBox Extending the ComboBox Class and Its Items[^]


你不能只是添加复选框那个

你必须手动或从头开始



遵循这个tut 下拉列表中带有CheckBoxes的OwnerDraw ComboBox [ ^ ]







你可以使用contextMenuStrip以简单的方式或更快的方式使用它。



如果你不明白什么我只想评论它:)
you can't just add check box just like that
you have to make manually or from scratch

follow this tut An OwnerDraw ComboBox with CheckBoxes in the Drop-Down[^]

or

you can use the contextMenuStrip for making it into a simple way or faster way.

if you don't understand what i m saying just comment it :)