diff --git a/Sources/IHM/Dashboard.xaml b/Sources/IHM/Dashboard.xaml
index 751ce20..404607f 100644
--- a/Sources/IHM/Dashboard.xaml
+++ b/Sources/IHM/Dashboard.xaml
@@ -7,5 +7,35 @@
Text="Dashboard"
VerticalOptions="Center"
HorizontalOptions="Center" />
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/IHM/Dashboard.xaml.cs b/Sources/IHM/Dashboard.xaml.cs
index dabbff7..c7e9782 100644
--- a/Sources/IHM/Dashboard.xaml.cs
+++ b/Sources/IHM/Dashboard.xaml.cs
@@ -1,4 +1,6 @@
using Model;
+using Microsoft.Maui.Controls;
+using Microsoft.Maui.Controls.PlatformConfiguration.TizenSpecific;
namespace IHM;
@@ -15,9 +17,29 @@ public partial class DashBoard : ContentPage
{
loadInscription();
}
+ }
-
+ async void OnClickedGestionBanque(object sender, EventArgs args)
+ {
+ Bouton.IsEnabled = false;
+ Bouton.BackgroundColor = Color.FromRgb(192, 192, 192);
+ await Bouton.TranslateTo(-130, 35, 50);
+ await Bouton.ScaleXTo(7.5, 50);
+ await Bouton.ScaleYTo(3, 50);
+ BoutonRetour.IsVisible = true;
+ ImgBanqueActuelle.IsVisible = true;
+ //await Navigation.PushModalAsync(new GestionBanque());
+ }
+
+ async void OnClickedRetour(object sender, EventArgs args)
+ {
+ await Bouton.ScaleXTo(1, 50);
+ await Bouton.ScaleYTo(1, 50);
+ await Bouton.TranslateTo(0,0,50);
+ ImgBanqueActuelle.IsVisible = false;
+ BoutonRetour.IsVisible = false;
+ Bouton.IsEnabled = true;
}
public async void loadInscription()
diff --git a/Sources/IHM/GestionBanque.xaml b/Sources/IHM/GestionBanque.xaml
new file mode 100644
index 0000000..0cdef34
--- /dev/null
+++ b/Sources/IHM/GestionBanque.xaml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Sources/IHM/GestionBanque.xaml.cs b/Sources/IHM/GestionBanque.xaml.cs
new file mode 100644
index 0000000..65e62c3
--- /dev/null
+++ b/Sources/IHM/GestionBanque.xaml.cs
@@ -0,0 +1,9 @@
+namespace IHM;
+
+public partial class GestionBanque : ContentPage
+{
+ public GestionBanque()
+ {
+ InitializeComponent();
+ }
+}
\ No newline at end of file
diff --git a/Sources/IHM/IHM.csproj b/Sources/IHM/IHM.csproj
index 9ef10c6..cbce615 100644
--- a/Sources/IHM/IHM.csproj
+++ b/Sources/IHM/IHM.csproj
@@ -79,6 +79,12 @@
MSBuild:Compile
+
+ MSBuild:Compile
+
+
+ MSBuild:Compile
+
MSBuild:Compile
diff --git a/Sources/IHM/Settings.xaml.cs b/Sources/IHM/Settings.xaml.cs
index 4227d77..cd17c29 100644
--- a/Sources/IHM/Settings.xaml.cs
+++ b/Sources/IHM/Settings.xaml.cs
@@ -17,8 +17,6 @@ public partial class Settings : ContentPage
}
private async void NavigateTo()
{
- OnBackButtonPressed();
- Debug.WriteLine(base.OnBackButtonPressed());
await Navigation.PushModalAsync(new MainPage());
}