From 9952b4d1c7fef700b1899f47a0da91d84401eb1c Mon Sep 17 00:00:00 2001 From: Raphael LACOTE Date: Wed, 14 Dec 2022 14:05:06 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Cr=C3=A9ation=20de=20CV=5FStatistiques?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/IHM/Desktop/CV_Statistiques.xaml | 11 +++++++++++ Sources/IHM/Desktop/CV_Statistiques.xaml.cs | 9 +++++++++ Sources/IHM/Desktop/DashBoard.xaml | 2 +- Sources/IHM/Desktop/Dashboard.xaml.cs | 9 ++++++--- Sources/IHM/IHM.csproj | 3 +++ 5 files changed, 30 insertions(+), 4 deletions(-) create mode 100644 Sources/IHM/Desktop/CV_Statistiques.xaml create mode 100644 Sources/IHM/Desktop/CV_Statistiques.xaml.cs diff --git a/Sources/IHM/Desktop/CV_Statistiques.xaml b/Sources/IHM/Desktop/CV_Statistiques.xaml new file mode 100644 index 0000000..3b44cf8 --- /dev/null +++ b/Sources/IHM/Desktop/CV_Statistiques.xaml @@ -0,0 +1,11 @@ + + + + + diff --git a/Sources/IHM/Desktop/CV_Statistiques.xaml.cs b/Sources/IHM/Desktop/CV_Statistiques.xaml.cs new file mode 100644 index 0000000..171fd80 --- /dev/null +++ b/Sources/IHM/Desktop/CV_Statistiques.xaml.cs @@ -0,0 +1,9 @@ +namespace IHM.Desktop; + +public partial class CV_Statistiques : ContentView +{ + public CV_Statistiques() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml index d4149e9..9277a88 100644 --- a/Sources/IHM/Desktop/DashBoard.xaml +++ b/Sources/IHM/Desktop/DashBoard.xaml @@ -36,7 +36,7 @@ - + diff --git a/Sources/IHM/Desktop/Dashboard.xaml.cs b/Sources/IHM/Desktop/Dashboard.xaml.cs index 0ef8025..2d5dab4 100644 --- a/Sources/IHM/Desktop/Dashboard.xaml.cs +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -53,8 +53,11 @@ public partial class Dashboard mainCV.Content = new Compte(); } - private void Button_Clicked(object sender, EventArgs e) + private void Button_statistiques(object sender, EventArgs e) { - - } + RetourFormeBase(); + ButSta.TextColor = Colors.White; + ButSta.BackgroundColor = Colors.Red; + mainCV.Content = new CV_Statistiques(); + } } \ No newline at end of file diff --git a/Sources/IHM/IHM.csproj b/Sources/IHM/IHM.csproj index 0880be4..44688f0 100644 --- a/Sources/IHM/IHM.csproj +++ b/Sources/IHM/IHM.csproj @@ -110,6 +110,9 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile From a6a3133b117bf805c4c30990b63d9ac6b79e15b8 Mon Sep 17 00:00:00 2001 From: nimaye Date: Wed, 14 Dec 2022 15:21:56 +0100 Subject: [PATCH 2/3] ajout de la content View de delete planification --- .../IHM/Desktop/CV_DeletePlanification.xaml | 33 +++++++++++++++++++ .../Desktop/CV_DeletePlanification.xaml.cs | 19 +++++++++++ Sources/IHM/Desktop/CV_Planification.xaml.cs | 4 +-- Sources/IHM/Desktop/Dashboard.xaml.cs | 2 +- Sources/IHM/IHM.csproj | 3 ++ 5 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 Sources/IHM/Desktop/CV_DeletePlanification.xaml create mode 100644 Sources/IHM/Desktop/CV_DeletePlanification.xaml.cs diff --git a/Sources/IHM/Desktop/CV_DeletePlanification.xaml b/Sources/IHM/Desktop/CV_DeletePlanification.xaml new file mode 100644 index 0000000..6c2b227 --- /dev/null +++ b/Sources/IHM/Desktop/CV_DeletePlanification.xaml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + +