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); } } }
void cell_AnnotationCreated(object sender, MedicalViewerAnnotationCreatedEventArgs e) { // e.Object.SetFixedState(true, false); blnhasJustCreated = true; }