From 5ab03a27cb996badf18b2f29624f688ffc8dcb88 Mon Sep 17 00:00:00 2001 From: Maxime ANDRE-MASSE Date: Fri, 26 May 2023 14:14:51 +0200 Subject: [PATCH] =?UTF-8?q?binding=20termin=C3=A9,=20besoin=20d'ajouter=20?= =?UTF-8?q?des=20donn=C3=A9es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MusiLib/MusiLib/Views/Partition.xaml | 10 +++++----- MusiLib/MusiLib/Views/Partition.xaml.cs | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/MusiLib/MusiLib/Views/Partition.xaml b/MusiLib/MusiLib/Views/Partition.xaml index 63cde79..4025bf2 100644 --- a/MusiLib/MusiLib/Views/Partition.xaml +++ b/MusiLib/MusiLib/Views/Partition.xaml @@ -8,16 +8,16 @@ - - - + + - - + diff --git a/MusiLib/MusiLib/Views/Partition.xaml.cs b/MusiLib/MusiLib/Views/Partition.xaml.cs index 1cd84a6..df2693d 100644 --- a/MusiLib/MusiLib/Views/Partition.xaml.cs +++ b/MusiLib/MusiLib/Views/Partition.xaml.cs @@ -21,9 +21,10 @@ public partial class Partition : ContentPage public Partition(int id) { - IdTab = id; - BindingContext = MyManager; InitializeComponent(); + IdTab = id; + Part.BindingContext = MyManager.partitions[IdTab]; + Part2.BindingContext = MyManager; } private void Play_Music(object sender, EventArgs e)