改变组合框颜色的代码 [英] Code for Changing the color of combobox Item
本文介绍了改变组合框颜色的代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个带有组合框的窗体,如果我从项目列表中选择一个项目并保存该项目,那么我想要更改特定的所选项目颜色。
这里我从数据库中获取项目
I have a windows form with combo box,In that if i select one Item from the list of Items and save that item,then After I want that particular selected item color has to be changed.
here i take the items from database
推荐答案
喜欢这个链接
http://msdn.microsoft.com/en-us/library /system.windows.forms.combobox.dropdownstyle(v=vs.110).aspx [ ^ ]
这篇关于改变组合框颜色的代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文