コード例 #1
0
 public myPolyline(AnnoListControl alc, Canvas canvasboard, MultiScaleImage msi, List <AnnotationBase> objectlist, int SlideZoom, double Calibration)
 {
     SetPara(alc, canvasboard, msi, objectlist, SlideZoom, Calibration);
     msi.MouseLeftButtonDown += MouseDown;
     base.AnnotationType      = AnnotationType.Polygon;
     base.ControlName         = base.AnnotationType + DateTime.Now.ToString("yyyyMMddHHmmss");
 }
コード例 #2
0
 public myPin(AnnoListControl alc, Canvas canvasboard, MultiScaleImage msi, int SlideZoom, List <AnnotationBase> objectlist)
 {
     SetPara(alc, canvasboard, msi, objectlist, SlideZoom, base.Calibration);
     msi.MouseLeftButtonDown += Pinline_handle_MouseDown;
     base.AnnotationType      = AnnotationType.Remark;
     base.ControlName         = base.AnnotationType + DateTime.Now.ToString("yyyyMMddHHmmss");
 }
コード例 #3
0
 public myRectZoom(AnnoListControl alc, Canvas canvasboard, MultiScaleImage msi, List <AnnotationBase> objectlist, int SlideZoom, double Calibration)
 {
     SetPara(alc, canvasboard, msi, objectlist, SlideZoom, Calibration);
     msi.MouseRightButtonDown += MouseDown;
     base.ControlName          = "Myrectzoom" + DateTime.Now.ToString("yyyyMMddHHmmss");
     Rotate = Rotate;
 }
コード例 #4
0
 public myTmaRectangle(AnnoListControl alc, Canvas canvasboard, MultiScaleImage msi, List <AnnotationBase> objectlist, int SlideZoom, double Calibration, List <myTmaRectangle> tmpobj)
 {
     m_tmpobj = tmpobj;
     SetPara(alc, canvasboard, msi, objectlist, SlideZoom, Calibration);
     base.AnnotationType = AnnotationType.TmaRectangle;
     base.ControlName    = base.AnnotationType + DateTime.Now.ToString("yyyyMMddHHmmss");
 }
コード例 #5
0
 public void XmlSetPara(AnnoListControl alc, Canvas canvasboard, MultiScaleImage msi, List <AnnotationBase> objectlist, int SlideZoom, double Calibration)
 {
     M_FiguresCanvas  = canvasboard;
     this.msi         = msi;
     this.objectlist  = objectlist;
     AnnoControl      = alc;
     this.SlideZoom   = SlideZoom;
     this.Calibration = Calibration;
 }
コード例 #6
0
 public myAnalysis(AnnoListControl alc, Canvas canvasboard, MultiScaleImage msi, List <AnnotationBase> objectlist, int SlideZoom, double Calibration)
 {
     SetPara(alc, canvasboard, msi, objectlist, SlideZoom, Calibration);
     msi.MouseLeftButtonDown += MouseDown;
     base.AnnotationType      = AnnotationType.Rectangle;
 }