From a3350f9230b4f4aa5aaa425505f3073750dd7512 Mon Sep 17 00:00:00 2001 From: Roxane ROSSETTO Date: Fri, 26 May 2023 17:31:16 +0200 Subject: [PATCH] link between Home and ViewRecette finished. remind binding of rewiew and navigation to review's page --- MCTG/Model/Recipes/Ingredient/Quantity.cs | 2 +- MCTG/Views/AddRecipe.xaml | 4 +- MCTG/Views/AddRecipe.xaml.cs | 3 +- MCTG/Views/App.xaml.cs | 3 - MCTG/Views/Home.xaml.cs | 2 +- MCTG/Views/MiniHeader.xaml.cs | 50 +++--- MCTG/Views/ViewRecette.xaml | 127 +++++++------- MCTG/Views/Views.csproj | 202 +++++++++++----------- 8 files changed, 193 insertions(+), 200 deletions(-) diff --git a/MCTG/Model/Recipes/Ingredient/Quantity.cs b/MCTG/Model/Recipes/Ingredient/Quantity.cs index 35ab858..9a9a930 100644 --- a/MCTG/Model/Recipes/Ingredient/Quantity.cs +++ b/MCTG/Model/Recipes/Ingredient/Quantity.cs @@ -67,7 +67,7 @@ namespace Model public override string ToString() { - return $"{Number}{UnitQ}"; + return $"{Number} {UnitQ} de : "; } } } diff --git a/MCTG/Views/AddRecipe.xaml b/MCTG/Views/AddRecipe.xaml index 3f2460b..8010ac4 100644 --- a/MCTG/Views/AddRecipe.xaml +++ b/MCTG/Views/AddRecipe.xaml @@ -63,9 +63,7 @@