From 4086ffd80a54648fb2219c085a811c3baceabd9f Mon Sep 17 00:00:00 2001 From: nimaye Date: Fri, 9 Dec 2022 13:55:57 +0100 Subject: [PATCH] =?UTF-8?q?impl=C3=A9mentation=20des=20contentView=20dans?= =?UTF-8?q?=20le=20dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/IHM/Desktop/CV_Planification.xaml | 66 +++++++++++------------ Sources/IHM/Desktop/DashBoard.xaml | 19 ++++--- Sources/IHM/Desktop/Dashboard.xaml.cs | 14 +++-- 3 files changed, 52 insertions(+), 47 deletions(-) diff --git a/Sources/IHM/Desktop/CV_Planification.xaml b/Sources/IHM/Desktop/CV_Planification.xaml index 2277634..b572d12 100644 --- a/Sources/IHM/Desktop/CV_Planification.xaml +++ b/Sources/IHM/Desktop/CV_Planification.xaml @@ -3,41 +3,37 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="IHM.Desktop.CV_Planification"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml index b2a4064..3842a4f 100644 --- a/Sources/IHM/Desktop/DashBoard.xaml +++ b/Sources/IHM/Desktop/DashBoard.xaml @@ -31,22 +31,27 @@ - + - + - - - + + + + + - - + + + + + diff --git a/Sources/IHM/Desktop/Dashboard.xaml.cs b/Sources/IHM/Desktop/Dashboard.xaml.cs index 4f35598..a3919f5 100644 --- a/Sources/IHM/Desktop/Dashboard.xaml.cs +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -2,7 +2,7 @@ using Microsoft.Maui.Graphics.Text; namespace IHM.Desktop; -public partial class Dashboard : ContentPage +public partial class Dashboard { public Dashboard() { @@ -11,22 +11,26 @@ public partial class Dashboard : ContentPage private void Button_planification(object sender, EventArgs e) { - Navigation.PushAsync(new Planification()); + mainCV.Content= new CV_Planification(); } private void Button_echeancier(object sender, EventArgs e) { - Navigation.PushAsync(new Echeancier()); + } private void Button_operation(object sender, EventArgs e) { - Navigation.PushAsync(new Operations()); + } private void Button_compte(object sender, EventArgs e) { - Navigation.PushAsync(new Compte()); + } + private void Button_Clicked(object sender, EventArgs e) + { + + } } \ No newline at end of file