Usercontrol contains a combobox, but the Items set at design time are not in the run time
问题 I have a user control that contains a textbox and a combobox. I have exposed the combobox's Item property to clients of the user control, thus: public System.Windows.Forms.ComboBox.ObjectCollection Item { get { return baseComboBox.Items; } } I added the user control to a windows form, and set the Items list using the property values editor in the form designer. I then ran the application, and the combobox's drop down list was empty. To confirm that the items added at design time were not in