using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using O2S.Components.PDFView4NET;
using O2S.Components.PDFView4NET.Actions;
using O2S.Components.PDFView4NET.Graphics;
using O2S.Components.PDFView4NET.Annotations;

namespace Annotations
{
    public partial class EditAnnotationForm : Form
    {
        public EditAnnotationForm()
        {
            InitializeComponent();
        }

        private Color borderColor = Color.Empty;

        private PDFAnnotation annotation;
        /// <summary>
        /// Gets or sets the link annotation edited in this form.
        /// </summary>
        public PDFAnnotation Annotation
        {
            get { return annotation; }
            set { annotation = value; }
        }

        private void EditLinkAnnotationForm_Load(object sender, EventArgs e)
        {
            pgAnnotation.SelectedObject = annotation;
        }
    }
}