private void BTN_Etape_Click(object sender, EventArgs e)
        {
            //Vérifie si l'étape est deja présente ou si c'est une ville de départ ou d'arrivée et si c'est une ville valide
            if ((!LB_Etapes.Items.Contains(C_Etape.Text)) && (C_VilleDepart.Text != C_Etape.Text) && (C_VilleArrivee.Text != C_Etape.Text) && C_Etape.Items.Contains(C_Etape.Text) != false)
            {
                // Ajoute l'item dans la ListeBox.
                LB_Etapes.Items.Add(C_Etape.Text);
                // Recherche la ville étape dans la List des ville étape
                Ville v = rechercheVilleEtape(C_Etape.Text);
                //Si v != null alors étape trouvée.
                if (v != null)
                {
                    // Création de l'étape
                    Etape villeEtape = new Etape(0, 0, v.getNom(), v.getCodePostal(), this.i);
                    // Ajout dans la liste
                    this.listeEtapes.Add(villeEtape);
                    // Mise à jour de l'ordre de la ville d'arrivée
                    Etape lastEtape = listeEtapes[listeEtapes.Count - 2];
                    listeEtapes.Remove(lastEtape);
                    this.arrivee = new Etape(0, 0, lastEtape.getVille(), lastEtape.getCodePostal(), (byte)(lastEtape.getOrdre() + 1));
                    listeEtapes.Add(this.arrivee);

                    this.i++;
                }
            }
        }
        private void C_VilleArrivee_TextChanged(object sender, EventArgs e)
        {
            Ville v = rechercheVilleEtape(C_VilleArrivee.Text);

            if (v != null)
            {
                listeEtapes.Remove(this.arrivee);
                this.arrivee = new Etape(0, 0, v.getNom(), v.getCodePostal(), (byte)(listeEtapes.Count + 1));
                listeEtapes.Add(this.arrivee);
            }
        }
        private void C_VilleDepart_TextChanged(object sender, EventArgs e)
        {
            Ville v = rechercheVilleEtape(C_VilleDepart.Text);

            if (v != null)
            {
                listeEtapes.Remove(this.depart);
                this.depart = new Etape(0, 0, v.getNom(), v.getCodePostal(), 1);
                listeEtapes.Add(this.depart);
            }
        }
        public static void modifier(Ville uneVille)
        {
            try
            {
                Connexion    uneConnexion = new Connexion();
                MySqlCommand maCommande;

                uneConnexion.getConnexion().Open();
                maCommande = new MySqlCommand("UPDATE parent SET nom = '" + uneVille.getlibelle() + "', code_postal = '" + uneVille.getCodePostal() + " WHERE id = " + uneVille.getID() + ";", uneConnexion.getConnexion());
                maCommande.ExecuteReader();
                uneConnexion.getConnexion().Close();
            }
            catch (MySqlException erreur)
            {
                throw erreur;
            }
        }
        public static void ajout(Ville uneVille)
        {
            try
            {
                Connexion    uneConnexion = new Connexion();
                MySqlCommand maCommande;

                uneConnexion.getConnexion().Open();
                maCommande = new MySqlCommand("INSERT INTO ville (id, nom, code_postal) VALUES (" + uneVille.getID() + ", '" + uneVille.getlibelle() + "', '" + uneVille.getCodePostal() + ");", uneConnexion.getConnexion());
                maCommande.ExecuteReader();
                uneConnexion.getConnexion().Close();
            }
            catch (MySqlException erreur)
            {
                throw erreur;
            }
        }