예제 #1
0
        void cell_AnnotationCreated(object sender, MedicalViewerAnnotationCreatedEventArgs e)
        {
            AnnRectangleObject rectangle = e.Object as AnnRectangleObject;

            rectangle.RotateGripper = new LeadLengthD();


            _Container = GetContainer((MedicalViewerMultiCell)sender, rectangle);


            for (int i = 0; i < Cell.SubCells.Count; i++)
            {
                AnnContainer container = Cell.SubCells[i].AnnotationContainer;

                if (container != null && container != _Container)
                {
                    container.Children.Add(rectangle);
                }
            }
        }
예제 #2
0
파일: DROC.cs 프로젝트: khaha2210/radio
 void cell_AnnotationCreated(object sender, MedicalViewerAnnotationCreatedEventArgs e)
 {
    // e.Object.SetFixedState(true, false);
     blnhasJustCreated = true;
 }