diff --git a/Sources/IHM/Desktop/CV_AddPlanification.xaml b/Sources/IHM/Desktop/CV_AddPlanification.xaml index d114a1c..58e1f91 100644 --- a/Sources/IHM/Desktop/CV_AddPlanification.xaml +++ b/Sources/IHM/Desktop/CV_AddPlanification.xaml @@ -3,7 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="IHM.Desktop.CV_AddPlanification"> - + @@ -23,21 +23,21 @@ - - - - - - \ No newline at end of file diff --git a/Sources/IHM/Desktop/Dashboard.xaml.cs b/Sources/IHM/Desktop/Dashboard.xaml.cs index c783b22..34b0ef6 100644 --- a/Sources/IHM/Desktop/Dashboard.xaml.cs +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -1,15 +1,20 @@ using Microsoft.Maui.Graphics.Text; +using Model; namespace IHM.Desktop; public partial class Dashboard { + public Manager Mgr => (App.Current as App).Manager; public Dashboard() { InitializeComponent(); - } + BindingContext = Mgr.User; + mainCV.Content = new CV_HomePage(); + + } private void RetourFormeBase() { @@ -19,6 +24,7 @@ public partial class Dashboard ButCom.BackgroundColor = Color.FromArgb("E1E1E1"); ButCom.TextColor = Colors.Black; ButAcc.BackgroundColor = Color.FromArgb("E1E1E1"); ButAcc.TextColor = Colors.Black; ButSta.BackgroundColor = Color.FromArgb("E1E1E1"); ButSta.TextColor = Colors.Black; + } @@ -76,7 +82,7 @@ public partial class Dashboard ButLog.TextColor = Colors.White; ButLog.BackgroundColor = Color.FromArgb("7FB196"); mainCV.Content = new CV_Log(); - + } } \ No newline at end of file diff --git a/Sources/IHM/Desktop/Echeancier.xaml b/Sources/IHM/Desktop/Echeancier.xaml index 8e01e4f..1ec0f65 100644 --- a/Sources/IHM/Desktop/Echeancier.xaml +++ b/Sources/IHM/Desktop/Echeancier.xaml @@ -4,37 +4,41 @@ x:Class="IHM.Desktop.Echeancier" > - - - - - - - - - - - - - - - - - + -