// Avril 2008 // Efface tous les commentaires if(App.ActiveCellar == null) { return; } ObjectCollection oc = App.ActiveCellar.GetCollection((ushort)ObjectType.Wine); for (int i = 0; i < oc.Count; i++) { Wine wine = (Wine)oc[i]; wine.Comment = string.Empty; wine.Save(); } MessageBox.Show("Terminé !");