Ejemplo n.º 1
0
 private void resetOffset()
 {
     using (MedicalViewerOffset offset = (MedicalViewerOffset)_cell.GetActionProperties(MedicalViewerActionType.Offset))
     {
         offset.X = 0;
         offset.Y = 0;
         _cell.SetActionProperties(MedicalViewerActionType.Offset, offset);
     }
 }
Ejemplo n.º 2
0
        private void _btnApply_Click(object sender, EventArgs e)
        {
            _angleAnnotation.Flags           = ((MedicalViewerAnnotationFlags)_cmbApplyTo.SelectedIndex);
            _angleAnnotation.AnnotationColor = _lblColor.BackColor;

            cell.SetActionProperties(MedicalViewerActionType.AnnotationAngle, _angleAnnotation);

            foreach (MedicalViewerMultiCell viewerCell in viewer.Cells)
            {
                viewerCell.SetActionProperties(MedicalViewerActionType.AnnotationAngle, _angleAnnotation);
            }
        }
Ejemplo n.º 3
0
        private void _btnApply_Click(object sender, EventArgs e)
        {
            _ellipseAnnotation.Flags            = ((MedicalViewerAnnotationFlags)_cmbApplyTo.SelectedIndex);
            _ellipseAnnotation.CreateFromCenter = _radCenter.Checked;
            _ellipseAnnotation.AnnotationColor  = _lblColor.BackColor;

            cell.SetActionProperties(MedicalViewerActionType.AnnotationEllipse, _ellipseAnnotation);

            foreach (MedicalViewerMultiCell viewerCell in viewer.Cells)
            {
                viewerCell.SetActionProperties(MedicalViewerActionType.AnnotationEllipse, _ellipseAnnotation);
            }
        }