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)); }
public Stage() { AnnotationPoints = new AnnotationPoint[5]; }