コード例 #1
0
ファイル: LayoutManager.cs プロジェクト: hksonngan/Xian
        private void OnPriorStudyLoadFailed(object sender, StudyLoadFailedEventArgs e)
        {
            bool notFoundError = e.Error is NotFoundLoadStudyException;

            if (!notFoundError && (e.Error is LoadSopsException || e.Error is StudyLoaderNotFoundException))
            {
                if (null != GetImageSet(e.Study.StudyInstanceUid))
                {
                    return;
                }

                var reconciled = (ReconcilePatientInfo ? ReconcilePatient(e.Study) : e.Study) ?? e.Study;
                var studyItem  = new StudyRootStudyIdentifier(reconciled, e.Study);
                ImageSetDescriptor descriptor = new DicomImageSetDescriptor(studyItem, e.Study.Server, e.Error);
                AddImageSet(new ImageSet(descriptor));
            }
        }
コード例 #2
0
 internal void OnStudyLoadFailed(StudyLoadFailedEventArgs studyLoadFailedArgs)
 {
     EventsHelper.Fire(_studyLoadFailedEvent, this, studyLoadFailedArgs);
 }
コード例 #3
0
ファイル: EventBroker.cs プロジェクト: UIKit0/ClearCanvas
		internal void OnStudyLoadFailed(StudyLoadFailedEventArgs studyLoadFailedArgs)
		{
			EventsHelper.Fire(_studyLoadFailedEvent, this, studyLoadFailedArgs);
		}