예제 #1
0
 private void SimulateLiveshaping(ShortHealthRecordViewModel hrvm)
 {
     using (preserveSelected.Enter(SelectedHealthRecords)) // fix selection after CommitEdit when view grouping
     {
         SetHrExtra(hrvm.ToEnumerable());
         view.EditItem(hrvm);
         view.CommitEdit();
         //  logger.DebugFormat("commit {0}", hrvm);
     }
 }
예제 #2
0
 public void UnselectExcept(ShortHealthRecordViewModel vm)
 {
     UnselectExcept(vm.ToEnumerable());
 }