2009-04-20 30 views

回答

26

尝试

var count = comboBox.Items.Count; 
+6

为什么要使用此变种? – 2012-05-11 13:14:19

16

您应该参考Items财产的Count

myComboBox.Items.Count 
相关问题