Ejemplo n.º 1
0
        private void OnImageSetAdded(object sender, ListEventArgs <IImageSet> e)
        {
            ImageSet imageSet = (ImageSet)e.Item;

            imageSet.ParentLogicalWorkspace = this;
            imageSet.ImageViewer            = this.ImageViewer;
        }
Ejemplo n.º 2
0
        protected virtual IImageSet CreateImageSet(Study study)
        {
            ImageSet           imageSet    = null;
            List <IDisplaySet> displaySets = CreateDisplaySets(study);

            if (displaySets.Count > 0)
            {
                imageSet = new ImageSet(CreateImageSetDescriptor(study));

                foreach (IDisplaySet displaySet in displaySets)
                {
                    imageSet.DisplaySets.Add(displaySet);
                }
            }

            return(imageSet);
        }