示例#1
0
 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)
		{
			_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));
		}
示例#3
0
 private void OnStudyLoaded(object sender, StudyLoadedEventArgs e)
 {
     UpdateEnabled();
 }