コード例 #1
0
ファイル: ImageSetTree.cs プロジェクト: nhannd/Xian
		/// <summary>
		/// Constructor that allows a custom binding to be supplied.
		/// </summary>
		/// <param name="imageSets"></param>
		/// <param name="primaryStudyInstanceUid"></param>
		/// <param name="binding"></param>
		public ImageSetTree(ObservableList<IImageSet> imageSets, string primaryStudyInstanceUid, ImageSetTreeItemBinding binding)
		{
			_primaryStudyInstanceUid = primaryStudyInstanceUid;
			_imageSetGroups = new ImageSetGroups(imageSets);
			_internalTree = new ImageSetTreeGroupItem(_imageSetGroups.Root, new StudyDateComparer(), binding);
			UpdateInternalTreeRoot();
			_internalTree.Updated += OnInternalTreeUpdated;
		}
コード例 #2
0
 /// <summary>
 /// Constructor that allows a custom binding to be supplied.
 /// </summary>
 /// <param name="imageSets"></param>
 /// <param name="primaryStudyInstanceUid"></param>
 /// <param name="binding"></param>
 public ImageSetTree(ObservableList <IImageSet> imageSets, string primaryStudyInstanceUid, ImageSetTreeItemBinding binding)
 {
     _primaryStudyInstanceUid = primaryStudyInstanceUid;
     _imageSetGroups          = new ImageSetGroups(imageSets);
     _internalTree            = new ImageSetTreeGroupItem(_imageSetGroups.Root, new StudyDateComparer(), binding);
     UpdateInternalTreeRoot();
     _internalTree.Updated += OnInternalTreeUpdated;
 }