From 0eaba5c0690ab4850f7aed395c0ebae37709b0dd Mon Sep 17 00:00:00 2001 From: nimaye Date: Wed, 30 Nov 2022 14:25:41 +0100 Subject: [PATCH] =?UTF-8?q?ajout=20=C3=A9l=C3=A9ment=20sur=20la=20vue=20pl?= =?UTF-8?q?anification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/IHM/Desktop/DashBoard.xaml | 4 ++-- Sources/IHM/Desktop/Dashboard.xaml.cs | 7 +++++++ Sources/IHM/Desktop/Planification.xaml | 23 +++++++++++++++++------ 3 files changed, 26 insertions(+), 8 deletions(-) diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml index 2e4bc5e..55d2de5 100644 --- a/Sources/IHM/Desktop/DashBoard.xaml +++ b/Sources/IHM/Desktop/DashBoard.xaml @@ -13,11 +13,11 @@ - + - + diff --git a/Sources/IHM/Desktop/Dashboard.xaml.cs b/Sources/IHM/Desktop/Dashboard.xaml.cs index 7f99d57..9d78f86 100644 --- a/Sources/IHM/Desktop/Dashboard.xaml.cs +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -1,3 +1,5 @@ +using Microsoft.Maui.Graphics.Text; + namespace IHM.Desktop; public partial class Dashboard : ContentPage @@ -6,4 +8,9 @@ public partial class Dashboard : ContentPage { InitializeComponent(); } + + private void Button_Clicked(object sender, EventArgs e) + { + Navigation.PushAsync(new Planification()); + } } \ No newline at end of file diff --git a/Sources/IHM/Desktop/Planification.xaml b/Sources/IHM/Desktop/Planification.xaml index d8ee7b2..37d06b6 100644 --- a/Sources/IHM/Desktop/Planification.xaml +++ b/Sources/IHM/Desktop/Planification.xaml @@ -3,10 +3,21 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="IHM.Desktop.Planification" Title="Planification"> - - + + + + + + + + + + + + + + + + + \ No newline at end of file