public static void CreerThemeAnimaux()
 {
     listeDeMotIllustre.Add(new MotIllustre("rino", (Image)Properties.Resources.rino));
     listeDeMotIllustre.Add(new MotIllustre("lion", (Image)Properties.Resources.lion));
     listeDeMotIllustre.Add(new MotIllustre("ecureuil", (Image)Properties.Resources.ecureil));
     MesOutils.SerialiseListe("mesAnimaux");
 }
        public static void ChargerTheme(string monTheme)
        {
            if (File.Exists(monTheme))
            {
                MesOutils.DeserialiseListe(monTheme);
            }
            else
            {
                switch (monTheme)
                {
                case "mesAnimaux":
                    ListeDeMotsIllustres.CreerThemeAnimaux();
                    break;

                case "monTheme":
                    ListeDeMotsIllustres.CreerMonTheme();
                    break;

                default:
                    ListeDeMotsIllustres.CreerMonTheme();
                    break;
                }
            }
            MesOutils.DeserialiseListe(monTheme);
        }
 public static void CreerMonTheme()
 {
     listeDeMotIllustre.Add(new MotIllustre("chateau", (Image)Properties.Resources.chateau));
     listeDeMotIllustre.Add(new MotIllustre("nain", (Image)Properties.Resources.nainNomProf));
     listeDeMotIllustre.Add(new MotIllustre("M&M's", (Image)Properties.Resources.mms));
     listeDeMotIllustre.Add(new MotIllustre("piano", (Image)Properties.Resources.piano));
     MesOutils.SerialiseListe("monTheme");
 }