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..a4bff1d 100644 --- a/Sources/IHM/Desktop/Dashboard.xaml.cs +++ b/Sources/IHM/Desktop/Dashboard.xaml.cs @@ -25,7 +25,7 @@ public partial class Dashboard { RetourFormeBase(); ButPla.TextColor = Colors.White; - ButPla.BackgroundColor = Colors.Red; + ButPla.BackgroundColor = Colors.Coral; mainCV.Content= new CV_Planification(); } @@ -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 db53b13..e2137fd 100644 --- a/Sources/IHM/IHM.csproj +++ b/Sources/IHM/IHM.csproj @@ -110,9 +110,15 @@ MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile + + MSBuild:Compile + MSBuild:Compile