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"); }
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"); }
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; }
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"); }
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; }
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; }