public static void ChargeProfilServer(string profil) { DefautConfig(); SerializeForm formSerializer = new SerializeForm(); formSerializer.unSerialize(Var.fenetrePrincipale, Var.RepertoireDeSauvegarde + profil + @".FSFServer.bin"); formSerializer.unSerialize(Var.fenetrePrincipale, Var.RepertoireDeSauvegarde + profil + @".FSFServerNetwork.bin"); }
public static void SauvegardeProfilServer(string profil) { SerializeForm formSerializer = new SerializeForm(); formSerializer.serialize(Var.fenetrePrincipale.ConfigServeur,Var.RepertoireDeSauvegarde + profil+@".FSFServer.bin"); formSerializer.serialize(Var.fenetrePrincipale.groupBox_ConfigSynchro, Var.RepertoireDeSauvegarde + profil + @".FSFServerNetwork.bin"); }