我有CheckedListBox的问题。 我有对象的列表:CheckedListBox - 如何设置要显示的对象的哪个参数?
private WinPcapDeviceList deviceList = WinPcapDeviceList.Instance;
这包含WinPcapDevice对象。 我想在列表中添加作为ChecklistBox
CheckList.DataSource = devices;
数据源当我启动该程序的输出不是用户非常有用,因为它看起来是这样的:checkedlistbox with WinPcapDeviceList as datasource
我希望它看起来是这样的:checkedlistbox with description of devices列表
所以只有设备的描述,这里是你如何可以得到说明:
WinPcapDevice.Description();
如何设置对象的哪个属性将被屏蔽?
什么样的应用(Winform中,WPF)是什么呢? – FrenchData