private void OnStudyLoaded(object sender, StudyLoadedEventArgs e) { _availableContexts.AddRange(e.Study.Series .SelectMany(s => s.Sops) .Where(s => s.SopClassUid == SopClass.KeyObjectSelectionDocumentStorageUid) .Select(s => new KeyImageInformation(_studyTree, s)) .OrderByDescending(s => s.ContentDateTime) .ThenBy(s => s.SeriesNumber)); }
private void OnStudyLoaded(object sender, StudyLoadedEventArgs e) { UpdateEnabled(); }