示例#1
0
 private void AddAnnotationPoint(Stage stage, AnnotationPoint annotationPoint)
 {
     stage.AnnotationPoints[currentPoint++] = annotationPoint;
     //annotationPoints.Add(annotationPoint);
     //pictureBox1.Controls.Add(annotationPoint);
     Size size = pictureBox1.Image.Size;
     annotationPoint.Location = new Point((int)(annotationPoint.XFraction * (float)size.Width), (int)(annotationPoint.YFraction * size.Height));
 }
示例#2
0
 public Stage()
 {
     AnnotationPoints = new AnnotationPoint[5];
 }