From 147193f5357e490a07ba94f26b806ed8cf787870 Mon Sep 17 00:00:00 2001 From: lobroda Date: Sun, 8 Oct 2023 14:08:55 +0100 Subject: [PATCH] ADD : FiltrageNote + ALirePlusTard Pages --- LivreLand/MauiProgram.cs | 6 ++- LivreLand/View/ALirePlusTardView.xaml | 11 ++-- LivreLand/View/ALirePlusTardView.xaml.cs | 30 ++++++++--- LivreLand/View/FiltrageNoteView.xaml | 63 +++++++--------------- LivreLand/View/FiltrageNoteView.xaml.cs | 33 ++++++++++-- LivreLand/View/TousView.xaml.cs | 13 ----- LivreLand/ViewModel/ALirePlusTardVM.cs | 31 +++++++++++ LivreLand/ViewModel/FiltrageNoteVM.cs | 31 +++++++++++ ViewModels/ManagerVM.cs | 69 ++++++++++++++++++++++++ ViewModels/RatingsVM.cs | 46 ++++++++++++++++ 10 files changed, 260 insertions(+), 73 deletions(-) create mode 100644 LivreLand/ViewModel/ALirePlusTardVM.cs create mode 100644 LivreLand/ViewModel/FiltrageNoteVM.cs create mode 100644 ViewModels/RatingsVM.cs diff --git a/LivreLand/MauiProgram.cs b/LivreLand/MauiProgram.cs index 8b4ea78..8d64464 100644 --- a/LivreLand/MauiProgram.cs +++ b/LivreLand/MauiProgram.cs @@ -27,6 +27,8 @@ public static class MauiProgram .AddSingleton() .AddSingleton() .AddSingleton() + .AddSingleton() + .AddSingleton() .AddSingleton() @@ -38,7 +40,9 @@ public static class MauiProgram .AddSingleton() .AddSingleton() - .AddSingleton(); + .AddSingleton() + .AddSingleton() + .AddSingleton(); #if DEBUG builder.Logging.AddDebug(); diff --git a/LivreLand/View/ALirePlusTardView.xaml b/LivreLand/View/ALirePlusTardView.xaml index e390f05..1bdaa68 100644 --- a/LivreLand/View/ALirePlusTardView.xaml +++ b/LivreLand/View/ALirePlusTardView.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:view="clr-namespace:LivreLand.View" xmlns:contentView="clr-namespace:LivreLand.View.ContentViews" + xmlns:viewModel="clr-namespace:ViewModels;assembly=ViewModels" x:Class="LivreLand.View.ALirePlusTardView" Title="ALirePlusTardView"> @@ -38,12 +39,12 @@ Style="{StaticResource HeaderCollectionViewText}" Grid.Column="1"/> - - + @@ -82,7 +83,7 @@ Stroke="{StaticResource Gray}" StrokeShape="RoundRectangle 3" StrokeThickness="3"> - @@ -98,11 +99,11 @@ Style="{StaticResource MasterTitleBookText}" Grid.Column="2" Grid.Row="0"/> -