diff --git a/Sources/IHM/Desktop/CV_Planification.xaml.cs b/Sources/IHM/Desktop/CV_Planification.xaml.cs index e1e0488..e796a66 100644 --- a/Sources/IHM/Desktop/CV_Planification.xaml.cs +++ b/Sources/IHM/Desktop/CV_Planification.xaml.cs @@ -39,7 +39,9 @@ public partial class CV_Planification : ContentView planification.Add(new("Loyer", 500, DateTime.Now, MethodePayement.Virement, TagOperation.Habitation, true)); */ - BindingContext = planification; + + + /* BindingContext = Mgr.AllCompte;*/ } diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml index 6e47998..2017c6f 100644 --- a/Sources/IHM/Desktop/DashBoard.xaml +++ b/Sources/IHM/Desktop/DashBoard.xaml @@ -29,7 +29,7 @@ - + diff --git a/Sources/Modele/Manager.cs b/Sources/Modele/Manager.cs index 3fd7fcd..f2a7bf9 100644 --- a/Sources/Modele/Manager.cs +++ b/Sources/Modele/Manager.cs @@ -57,11 +57,26 @@ namespace Model } private IList banquesDisponibleInApp; + + + //Test + +/* + private List listeDesComptes = new List(); + public ReadOnlyCollection AllCompte { get; private set; } +*/ + public Manager(IPersistanceManager persistance) { + // AllCompte = new ReadOnlyCollection(listeDesComptes); Pers = persistance; } + + + + + void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));