Merge pull request 'OnProfil_Tapped' (#18) from remi into master

Reviewed-on: remi.lavergne/SAE2.01-IHM_-_Remi_LAVERGNE_-_Yvan_CALATAYUD#18
pull/23/head^2
Rémi LAVERGNE 2 years ago
commit 05e1c9a600

Binary file not shown.

@ -39,13 +39,17 @@
/>
<Label
Text="Pseudo"
FontFamily="AladinRegular"
FontSize="18"
Grid.Row="1"
HorizontalOptions="Start"
VerticalOptions="Center"
/>
Text="Pseudonyme"
FontFamily="AladinRegular"
FontSize="18"
Grid.Row="1"
HorizontalOptions="Start"
VerticalOptions="Center">
<Label.GestureRecognizers>
<TapGestureRecognizer Tapped="OnProfil_Tapped"/>
</Label.GestureRecognizers>
</Label>
</HorizontalStackLayout>
<StackLayout HorizontalOptions="Center" VerticalOptions="Center" Grid.Row="2">

@ -6,12 +6,18 @@ namespace GameAtlas.Views;
public partial class PageAcceuil : ContentPage
{
public Manager Manager => (App.Current as App).MyManager;
public Manager AccueilManager => (App.Current as App).MyManager;
public PageAcceuil()
{
InitializeComponent();
}
private async void OnProfil_Tapped(object sender, EventArgs e)
{
await Navigation.PushAsync(new PageProfil());
}
private async void OnButtonClicked(object sender, EventArgs e)

@ -2,14 +2,14 @@ namespace GameAtlas.Views;
using GameAtlas.Models;
using System.Diagnostics;
using System.Text.RegularExpressions;
public partial class PageInscription : ContentPage
{
using System.Text.RegularExpressions;
public partial class PageInscription : ContentPage
{
public Manager InscriptionManager => (App.Current as App).MyManager;
public PageInscription()
{
InitializeComponent();
public PageInscription()
{
InitializeComponent();
}
private async void OnSignUpClicked(object sender, EventArgs e)

Loading…
Cancel
Save