// Sept 2007 // Désactive le mode de gestion manuelle 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.ManualManagement = true; wine.Save(); } MessageBox.Show("Terminé !");