////////////////////////////////////////////////////////////////////////
        ///
        /// @fn protected void resetConfig()
        /// @brief Reset des points et aux configurations de partie.
        /// @return Aucune.
        ///
        ////////////////////////////////////////////////////////////////////////
        protected void resetConfig()
        {
            billesEnJeu = 0;
            FonctionsNatives.resetNombreBillesCourantes();
            nombreDeBillesGagnes  = 0;
            nombreDeBillesUtilise = 0;
            pointsPartie          = 0;
            pointsTotale          = 0;
            pointsGagnerPartie    = FonctionsNatives.obtenirPointsGagnerPartie();
            pointsGagnerBille     = FonctionsNatives.obtenirPointsGagnerBille();
            nombreBillesInit      = FonctionsNatives.obtenirNombreDeBilles();
            billesDisponibles     = nombreBillesInit;
            label_nbGagnes.Text   = nombreDeBillesGagnes.ToString();
            setProprietes();
            if (!firstStart)
            {
                Program.myCustomConsole.Update();
            }
            FonctionsNatives.bouclerSon(bgm, bgm.Length);
            FonctionsNatives.ajusterVolume(bgm, bgm.Length, 90);
            StringBuilder billeSound = new StringBuilder("rolling");

            FonctionsNatives.ajusterVolume(billeSound, billeSound.Length, 100);
            FonctionsNatives.jouerSon(bgm, bgm.Length);
        }
 ////////////////////////////////////////////////////////////////////////
 ///
 /// @fn private void ProchainePartie()
 /// @brief Chargement de la prochaine partie.
 /// @return Aucune.
 ///
 ////////////////////////////////////////////////////////////////////////
 private void ProchainePartie()
 {
     FonctionsNatives.arreterToutSons();
     boolTemp   = false;
     peutAnimer = false;
     map        = new StringBuilder(myMaps[currentZone]);
     nextMap    = new StringBuilder(map.ToString());
     nextMap.Remove(nextMap.Length - 4, 4);
     System.Threading.Thread.Sleep(500);
     zInfo = new ZoneInfo(Path.GetFileName(nextMap.ToString()), FonctionsNatives.obtenirDifficulte(map, map.Capacity).ToString(), true);
     Program.myCustomConsole.Hide();
     this.Hide();
     zInfo.ShowDialog();
     this.Show();
     Program.myCustomConsole.Show();
     if (Program.mMenu.modeJeuMain != null)
     {
         FonctionsNatives.arreterToutSons();
         Program.myCustomConsole.Show();
         Program.mMenu.modeJeuMain.Focus();
     }
     FonctionsNatives.ouvrirXML(map, map.Capacity);
     FonctionsNatives.construireListesPalettes();
     FonctionsNatives.resetNombreDePointsDePartie();
     FonctionsNatives.resetNombreBillesCourantes();
     FonctionsNatives.mettreAJourListeBillesEtNoeuds();
     currentZone++;
     peutAnimer = true;
     boolTemp   = true;
     FonctionsNatives.bouclerSon(bgm, bgm.Length);
     FonctionsNatives.ajusterVolume(bgm, bgm.Length, 90);
     FonctionsNatives.jouerSon(bgm, bgm.Length);
     /// La création de l'état s'occupe d'appeler resetConfig
     etat = new EtatJeuDebutDePartie(this);
     // Il faut changer le mode car le traitement de début est fini
     etat           = new EtatJeuJouer(this);
     label_Nom.Text = "Nom: " + Path.GetFileNameWithoutExtension(map.ToString());
     if (nbZones == 1)
     {
         this.Text = "Partie Rapide: " + Path.GetFileNameWithoutExtension(map.ToString());
     }
     if (nbZones > 1)
     {
         this.Text = "Campagne: " + Path.GetFileNameWithoutExtension(map.ToString());
     }
 }