Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在具有combox.Location 属性的GridViewCell中附加了一个组合框。但是,我有多个组合框。更新组合框项目/值时,在GridCell 中看不到更改的选定项目。如何根据位置更新组合?
您可以通过以下方式找到组合框及其位置:
ComboBox tempCombo = (ComboBox)This.Controls.Find("YourComboBoxName",True)[0];
然后你可以参考 tempCombo 并重新填充它。