public AnnotationEditAddEditDialog( Color bgColor ) { InitializeComponent(); Text = "Add manual annotation"; annotation = new SeemsPointAnnotation(); annotation.Color = Color.Gray; annotation.Width = 1; this.bgColor = bgColor; }
public AnnotationEditAddEditDialog( Color bgColor, SeemsPointAnnotation annotation ) { InitializeComponent(); Text = "Edit manual annotation"; this.annotation = annotation; pointTextBox.Text = annotation.Point.ToString(); labelTextBox.Text = annotation.Label; colorDialog1.Color = annotation.Color; widthUpDown.Value = annotation.Width; this.bgColor = bgColor; }
internal AnnotationListItem( SeemsPointAnnotation annotation ) { this.annotation = annotation; }