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)