/// <summary>
        /// Initializes a new instance of the FormComparedPhotos class.
        /// </summary>
        /// <param name="i_Compare">Strategy comparer</param>
        public FormComparedPhotos(ICompare i_Compare)
        {
            InitializeComponent();
            r_Util = Utils.Utils.Instance;
            Compare = i_Compare;

            pictureBoxCurrentPic.LoadCompleted += pictureBoxCurrentPic_LoadCompleted;

            m_AllPhotos = FormMainWindow.AllPhotos;
            m_IndexOfCurrentImage = 0;

            StartPosition = FormStartPosition.CenterScreen;

            pictureBoxIconFeature.Image = Compare.Picture();

            getTopComparedPhotos();
            loadImage(m_TopComparedPhotos[0]);
        }
Beispiel #2
0
        /// <summary>
        /// Initializes a new instance of the FormComparedPhotos class.
        /// </summary>
        /// <param name="i_Compare">Strategy comparer</param>
        public FormComparedPhotos(ICompare i_Compare)
        {
            InitializeComponent();
            r_Util  = Utils.Utils.Instance;
            Compare = i_Compare;

            pictureBoxCurrentPic.LoadCompleted += pictureBoxCurrentPic_LoadCompleted;

            m_AllPhotos           = FormMainWindow.AllPhotos;
            m_IndexOfCurrentImage = 0;

            StartPosition = FormStartPosition.CenterScreen;

            pictureBoxIconFeature.Image = Compare.Picture();

            getTopComparedPhotos();
            loadImage(m_TopComparedPhotos[0]);
        }