如果 ComboBox 项是数据绑定项,则不能将该项的 SelectedIndex 设置为 -1。 https://msdn.microsoft.com/query/dev11.query?appId=Dev11IDEF1&l=ZH-CN&k=k(System.Windows.Forms.ComboBox.SelectedIndex);k(SelectedIndex);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.0);k(DevLang-csharp)&rd=true
110,533
社区成员
642,574
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧