private void SupprimerTache(object obj) { var tache = (Tache)CollectionViewSource.GetDefaultView(Taches).CurrentItem; Taches.Remove(tache); AccesDonnees.EnregistrerTaches(Taches.ToList()); }
private void EnregistrerTache(Object o) { ModeEdit = ModesEdition.Consultation; AccesDonnees.EnregistrerTaches(_tachesAjoutees); }
private void EnregistrerTache(object obj) { AccesDonnees.EnregistrerTaches(Taches.ToList()); ModeEdition = !ModeEdition; }