2009-04-20 26 views

回答

26

嘗試

var count = comboBox.Items.Count; 
+6

爲什麼要使用此變種? – 2012-05-11 13:14:19

16

您應該參考Items財產的Count

myComboBox.Items.Count 
相關問題