diff --git a/ParionsCuite/ParionsCuite/MainPage.xaml b/ParionsCuite/ParionsCuite/MainPage.xaml
index 5ae6b53..7138116 100644
--- a/ParionsCuite/ParionsCuite/MainPage.xaml
+++ b/ParionsCuite/ParionsCuite/MainPage.xaml
@@ -27,7 +27,7 @@
-
+
+ HorizontalOptions="Center" Clicked="Button_Clicked"/>
@@ -48,20 +48,19 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
+
+
+
diff --git a/ParionsCuite/ParionsCuite/MainPage.xaml.cs b/ParionsCuite/ParionsCuite/MainPage.xaml.cs
index 0f6bc5d..6d73c45 100644
--- a/ParionsCuite/ParionsCuite/MainPage.xaml.cs
+++ b/ParionsCuite/ParionsCuite/MainPage.xaml.cs
@@ -1,8 +1,10 @@
using System;
using Microsoft.Maui.Controls;
+using Microsoft.Maui.Platform;
using Microsoft.VisualBasic;
using ParionsCuite.Modeles;
using ParionsCuite.Views.Information;
+using ParionsCuite.Views.Invite;
using ParionsCuite.Views.Participations.Autre;
namespace ParionsCuite;
@@ -20,5 +22,48 @@ public partial class MainPage : ContentPage
{
//changervue
}
+
+ public void Button_Clicked(object sender, EventArgs e)
+ {
+
+ var newPage = new Views.Groupe();
+
+ // Définissez le contenu de la ContentView sur la nouvelle page
+ changeButton.Content = newPage;
+
+
+
+ }
+
+ private void InviteView(object sender, EventArgs e)
+ {
+ var newPage = new Views.Invite.Inviter();
+
+ // Définissez le contenu de la ContentView sur la nouvelle page
+ changeButton.Content = newPage;
+ }
+
+ private void ParticipantView(object sender, EventArgs e)
+ {
+ var newPage = new Views.Participations.Nourriture();
+
+ // Définissez le contenu de la ContentView sur la nouvelle page
+ changeButton.Content = newPage;
+ }
+ private void PariView(object sender, EventArgs e)
+ {
+ var newPage = new Views.Pari.Parier();
+
+ // Définissez le contenu de la ContentView sur la nouvelle page
+ changeButton.Content = newPage;
+ }
+ private void InfoView(object sender, EventArgs e)
+ {
+ var newPage = new Views.Information.Info();
+
+ // Définissez le contenu de la ContentView sur la nouvelle page
+ changeButton.Content = newPage;
+ }
+
}
diff --git a/ParionsCuite/ParionsCuite/Views/Groupe.xaml b/ParionsCuite/ParionsCuite/Views/Groupe.xaml
index f40a0c5..3925545 100644
--- a/ParionsCuite/ParionsCuite/Views/Groupe.xaml
+++ b/ParionsCuite/ParionsCuite/Views/Groupe.xaml
@@ -25,7 +25,7 @@
-
+
@@ -35,7 +35,7 @@
-
+
@@ -45,7 +45,7 @@
-
+
@@ -55,12 +55,12 @@
-
+
-
+
@@ -69,7 +69,7 @@
-
+
diff --git a/ParionsCuite/ParionsCuite/Views/Information/Info.xaml b/ParionsCuite/ParionsCuite/Views/Information/Info.xaml
index 2dd1ccf..080fc32 100644
--- a/ParionsCuite/ParionsCuite/Views/Information/Info.xaml
+++ b/ParionsCuite/ParionsCuite/Views/Information/Info.xaml
@@ -3,20 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ParionsCuite.Views.Information.Info">
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
diff --git a/ParionsCuite/ParionsCuite/Views/Invite/Inviter.xaml b/ParionsCuite/ParionsCuite/Views/Invite/Inviter.xaml
index fd8f528..e99c810 100644
--- a/ParionsCuite/ParionsCuite/Views/Invite/Inviter.xaml
+++ b/ParionsCuite/ParionsCuite/Views/Invite/Inviter.xaml
@@ -4,14 +4,7 @@
x:Class="ParionsCuite.Views.Invite.Inviter">
-
-
-
-
-
-
-
-
+
diff --git a/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml b/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml
index def9dcb..415fe7e 100644
--- a/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml
+++ b/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml
@@ -3,20 +3,14 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ParionsCuite.Views.Pari.Parier">
-
-
-
-
-
-
-
+
-
+
diff --git a/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml.cs b/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml.cs
index b1ceeb9..f7d9b00 100644
--- a/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml.cs
+++ b/ParionsCuite/ParionsCuite/Views/Pari/Parier.xaml.cs
@@ -1,3 +1,12 @@
+using System;
+using Microsoft.Maui.Controls;
+using Microsoft.Maui.Platform;
+using Microsoft.VisualBasic;
+using ParionsCuite.Modeles;
+using ParionsCuite.Views.Information;
+using ParionsCuite.Views.Invite;
+using ParionsCuite;
+using ParionsCuite.Views.Participations.Autre;
namespace ParionsCuite.Views.Pari;
public partial class Parier : ContentView
@@ -6,4 +15,8 @@ public partial class Parier : ContentView
{
InitializeComponent();
}
+
+ private void AjoutPariView(object sender, EventArgs e)
+ {
+ }
}
\ No newline at end of file
diff --git a/ParionsCuite/ParionsCuite/Views/Participations/Boisson/Boissons.xaml b/ParionsCuite/ParionsCuite/Views/Participations/Boisson/Boissons.xaml
index 8ff0be1..ed8398a 100644
--- a/ParionsCuite/ParionsCuite/Views/Participations/Boisson/Boissons.xaml
+++ b/ParionsCuite/ParionsCuite/Views/Participations/Boisson/Boissons.xaml
@@ -3,19 +3,6 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="ParionsCuite.Views.Participations.Boisson.Boissons">
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ParionsCuite/ParionsCuite/Views/Participations/Nourriture.xaml b/ParionsCuite/ParionsCuite/Views/Participations/Nourriture.xaml
index ece867d..b059bba 100644
--- a/ParionsCuite/ParionsCuite/Views/Participations/Nourriture.xaml
+++ b/ParionsCuite/ParionsCuite/Views/Participations/Nourriture.xaml
@@ -4,13 +4,6 @@
x:Class="ParionsCuite.Views.Participations.Nourriture">
-
-
-
-
-
-
-