From 0eaba5c0690ab4850f7aed395c0ebae37709b0dd Mon Sep 17 00:00:00 2001 From: nimaye Date: Wed, 30 Nov 2022 14:25:41 +0100 Subject: [PATCH 1/3] =?UTF-8?q?ajout=20=C3=A9l=C3=A9ment=20sur=20la=20vue?= =?UTF-8?q?=20planification?= 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 From 1da869673f6a58adc9ad0b1b21173f1949d1edf3 Mon Sep 17 00:00:00 2001 From: nimaye Date: Wed, 30 Nov 2022 14:26:39 +0100 Subject: [PATCH 2/3] ajout couleur texte --- Sources/IHM/Desktop/Planification.xaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/IHM/Desktop/Planification.xaml b/Sources/IHM/Desktop/Planification.xaml index 37d06b6..b9b0a69 100644 --- a/Sources/IHM/Desktop/Planification.xaml +++ b/Sources/IHM/Desktop/Planification.xaml @@ -11,11 +11,11 @@ - + - + From 2cc56e591b81c480f41c5be47229ceb3d248b9db Mon Sep 17 00:00:00 2001 From: nimaye Date: Fri, 2 Dec 2022 12:56:41 +0100 Subject: [PATCH 3/3] ajout des vue compte et echeancier --- Sources/IHM/Desktop/Compte.xaml | 12 ++++++++++++ Sources/IHM/Desktop/Compte.xaml.cs | 9 +++++++++ Sources/IHM/Desktop/DashBoard.xaml | 10 +++++----- Sources/IHM/Desktop/Dashboard.xaml.cs | 18 +++++++++++++++++- Sources/IHM/Desktop/Echeancier.xaml | 12 ++++++++++++ Sources/IHM/Desktop/Echeancier.xaml.cs | 9 +++++++++ Sources/IHM/Desktop/Planification.xaml | 2 ++ Sources/IHM/IHM.csproj | 6 ++++++ 8 files changed, 72 insertions(+), 6 deletions(-) create mode 100644 Sources/IHM/Desktop/Compte.xaml create mode 100644 Sources/IHM/Desktop/Compte.xaml.cs create mode 100644 Sources/IHM/Desktop/Echeancier.xaml create mode 100644 Sources/IHM/Desktop/Echeancier.xaml.cs diff --git a/Sources/IHM/Desktop/Compte.xaml b/Sources/IHM/Desktop/Compte.xaml new file mode 100644 index 0000000..3b7c9de --- /dev/null +++ b/Sources/IHM/Desktop/Compte.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/Sources/IHM/Desktop/Compte.xaml.cs b/Sources/IHM/Desktop/Compte.xaml.cs new file mode 100644 index 0000000..53c902e --- /dev/null +++ b/Sources/IHM/Desktop/Compte.xaml.cs @@ -0,0 +1,9 @@ +namespace IHM.Desktop; + +public partial class Compte : ContentPage +{ + public Compte() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/IHM/Desktop/DashBoard.xaml b/Sources/IHM/Desktop/DashBoard.xaml index 55d2de5..3f2c91c 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 9d78f86..4f35598 100644 --- a/Sources/IHM/Desktop/Dashboard.xaml.cs +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -9,8 +9,24 @@ public partial class Dashboard : ContentPage InitializeComponent(); } - private void Button_Clicked(object sender, EventArgs e) + private void Button_planification(object sender, EventArgs e) { Navigation.PushAsync(new 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()); + } + } \ No newline at end of file diff --git a/Sources/IHM/Desktop/Echeancier.xaml b/Sources/IHM/Desktop/Echeancier.xaml new file mode 100644 index 0000000..da0f743 --- /dev/null +++ b/Sources/IHM/Desktop/Echeancier.xaml @@ -0,0 +1,12 @@ + + + + + \ No newline at end of file diff --git a/Sources/IHM/Desktop/Echeancier.xaml.cs b/Sources/IHM/Desktop/Echeancier.xaml.cs new file mode 100644 index 0000000..7c988b7 --- /dev/null +++ b/Sources/IHM/Desktop/Echeancier.xaml.cs @@ -0,0 +1,9 @@ +namespace IHM.Desktop; + +public partial class Echeancier : ContentPage +{ + public Echeancier() + { + InitializeComponent(); + } +} \ No newline at end of file diff --git a/Sources/IHM/Desktop/Planification.xaml b/Sources/IHM/Desktop/Planification.xaml index b9b0a69..c663688 100644 --- a/Sources/IHM/Desktop/Planification.xaml +++ b/Sources/IHM/Desktop/Planification.xaml @@ -17,6 +17,8 @@ + + diff --git a/Sources/IHM/IHM.csproj b/Sources/IHM/IHM.csproj index 223d9d1..53d8712 100644 --- a/Sources/IHM/IHM.csproj +++ b/Sources/IHM/IHM.csproj @@ -90,9 +90,15 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile