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.
怎么能
ItemCheckedEventArgs.Item.Selected = ItemCheckedEventArgs.Item.Checked
生成“给定的键不在字典中。” ??
混淆是由于当您单步执行属性时 VS 没有进入事件处理程序,所以我在 SelectedIndexChanged 处理程序中没有看到错误。