示例#1
0
 public void NotifyInspectieEdited(Inspectie i)
 {
     InspectionList.Remove(InspectionList.FirstOrDefault(inspectie => inspectie.Id == i.Id));
     InspectionList.Add(new InspectieVM(i));
     _editWindow.Close();
     _editWindow = null;
 }
示例#2
0
 /// <summary>
 /// 数据加载完成后更新
 /// </summary>
 private void OnDataLoadedCompleted()
 {
     if(IsInspection)
     {
         SelectedInspectionItem = InspectionList.FirstOrDefault();
     }
 }