所谓的潇洒

导航

2024年1月22日 #

ComboBox异常 System.InvalidOperationException: 当 ItemsSource 正在使用时操作无效。改用 ItemsControl.ItemsSource 访问和修改元素。

摘要: 代码如下: cbb_users.ItemsSource = users; foreach (var item in otherUsers) { if (!tbxDoctorName.Items.Contains(item.name)) { tbxDoctorName.Items.Add(item.n 阅读全文

posted @ 2024-01-22 10:36 所谓的潇洒 阅读(111) 评论(0) 推荐(0) 编辑