如何在组合框中添加复选框? [英] How to add the check box in combo box?

查看:93
本文介绍了如何在组合框中添加复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





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



谢谢,

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 :)


这篇关于如何在组合框中添加复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆