Example #1
0
        void cell_DesignerCreated(object sender, MedicalViewerDesignerCreatedEventArgs e)
        {
            if (e.Designer is AnnRectangleEditDesigner)
            {
                AnnRectangleEditDesigner designer = e.Designer as AnnRectangleEditDesigner;

                designer.Edit += new EventHandler <AnnEditDesignerEventArgs>(designer_Edit);
            }
        }
Example #2
0
 private void _cell_DesignerCreated(object sender, MedicalViewerDesignerCreatedEventArgs e)
 {
     _currentAnnDesigner    = (AnnEditDesigner)e.Designer;
     e.Object.RotateGripper = new LeadLengthD(e.Object.RotateGripper.Value / 2);
 }