//Gestion des boutons private void ButtonAddAlbum_Click(object sender, EventArgs e) { if (donnees.PathFolderIsEmpty() || donnees.listeAlbums.Contains(new Album(this.nameNewAlbum.Text))) { return; } donnees.CreateAlbum(this.nameNewAlbum.Text); UpdateAlbumsField(); }