Ejemplo n.º 1
0
        /// <summary> Event handler. Called by Btn_RetourMDP for click events. </summary>
        /// <remarks> Thomas LAURE, 05/12/2017. </remarks>
        /// <param name="sender"> . </param>
        /// <param name="e">      Event information. </param>
        private void Btn_RetourMDP_Click(object sender, EventArgs e)
        {
            Form identificationVisuel = new IdentificationVisuel();

            identificationVisuel.Location      = this.Location;
            identificationVisuel.StartPosition = FormStartPosition.Manual;
            identificationVisuel.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        /// <summary> Reload page. </summary>
        /// <remarks> Thomas LAURE, 05/12/2017. </remarks>
        private void ReloadPage()
        {
            ////Load_identificationVisuel.Hide();
            ////Txt_chargementMetro.Hide();
            ////Btn_RetourVisuel.Enabled = true;
            ////Btn_VérifierVisuel.Enabled = true;
            ////Cam_Visuel1.StartCapture(listCams[List_Camera.SelectedIndex]);
            ////Cam_Visuel1.StopCapture();
            Form identificationVisuel = new IdentificationVisuel();

            identificationVisuel.Location      = this.Location;
            identificationVisuel.StartPosition = FormStartPosition.Manual;
            identificationVisuel.Show();
            this.Hide();
        }
Ejemplo n.º 3
0
        /// <summary> Go to identification visuel. </summary>
        /// <remarks> Thomas LAURE, 05/12/2017. </remarks>
        private void GoToIdentificationVisuel()
        {
            string cheminVersDossierTemp = Environment.CurrentDirectory + "\\temp";

            //// Créer le dossier temporaire s'il n'existe pas.
            if (!System.IO.Directory.Exists(cheminVersDossierTemp))
            {
                Directory.CreateDirectory(cheminVersDossierTemp);
            }

            Form identificationVisuel = new IdentificationVisuel();

            identificationVisuel.Location      = this.Location;
            identificationVisuel.StartPosition = FormStartPosition.Manual;
            identificationVisuel.Show();
            this.Hide();
        }