public ObjectAnnotater(ImageStreamReader capture, string databaseFileName)
        {
            InitializeComponent();

            this.capture = capture;

            drawingManager = new DrawingManager(pictureBox);
            drawingManager.OnElementSelected += drawingManager_OnElementSelected;

            this.databaseFileName = databaseFileName;
            Database = new Database();
            Database.Load(databaseFileName);

            loadCurrentImageAnnotations();
        }
 void drawingManager_OnElementSelected(DrawingManager sender, DrawingAnnotation element)
 {
     this.txtAnnotationLabel.Text = element.Annotation.Label;
 }