/// <summary>
        /// Maneja el uso del boton de añadir imagenes.
        /// </summary>
        /// <param name="sender">
        /// A <see cref="System.Object"/>
        /// </param>
        /// <param name="arg">
        /// A <see cref="EventArgs"/>
        /// </param>
        private void OnAddImageBtnClicked(object sender, EventArgs arg)
        {
            string filename;

            if (ImageLoadDialog.Show(mainWindow, out filename)
                == ResponseType.Ok)
            {
                AddImageFile(filename);
            }
        }
        /// <summary>
        /// Maneja el uso del boton de añidir imagen.
        /// </summary>
        private void OnAddImageButtonClicked(object o, EventArgs a)
        {
            // Añadiremos una imagen a la lista.
            string filename;

            if (ImageLoadDialog.Show(Assistant.Window, out filename)
                == ResponseType.Ok)
            {
                AddImageFile(filename);
            }
        }
        /// <summary>
        /// Allows the user to select an image and then loads it.
        /// </summary>
        public bool LoadImage()
        {
            string filename;

            if (ImageLoadDialog.Show(mainWindow, out filename)
                == ResponseType.Ok)
            {
                this.imageFile = filename;

                recognizementFinished = false;
                ClearLog();
                ResetState();
                return(true);
            }

            return(false);
        }