add navigation in MenuTransferPage
continuous-integration/drone/push Build is passing Details

pull/12/head^2
Antoine PEREDERII 2 years ago
parent 3a37232a4e
commit d2ec2b9b68

@ -11,9 +11,9 @@ public partial class HelpPage : ContentPage
{ {
} }
void Send_Clicked(System.Object sender, System.EventArgs e) public async void Send_Clicked(Object sender, EventArgs e)
{ {
await Navigation.PushAsync(new BalancePage()); await Shell.Current.Navigation.PushAsync(new BalancePage());
} }
} }

@ -14,7 +14,8 @@
Grid.Row="0" Grid.Row="0"
Margin="20" Margin="20"
MinimumWidthRequest="160" MinimumWidthRequest="160"
MinimumHeightRequest="160"/> MinimumHeightRequest="160"
Clicked="Transfer_Clicked"/>
<Button <Button
Text="Demander de l'argent" Text="Demander de l'argent"
@ -22,7 +23,8 @@
Grid.Row="0" Grid.Row="0"
Margin="20" Margin="20"
MinimumWidthRequest="160" MinimumWidthRequest="160"
MinimumHeightRequest="160"/> MinimumHeightRequest="160"
Clicked="Request_Clicked"/>
<Button <Button
Text="Afficher mon RIB" Text="Afficher mon RIB"
@ -30,7 +32,8 @@
Grid.Row="1" Grid.Row="1"
Margin="20" Margin="20"
MinimumHeightRequest="160" MinimumHeightRequest="160"
MinimumWidthRequest="360"/> MinimumWidthRequest="360"
Clicked="RIB_Clicked"/>
</Grid> </Grid>

@ -10,4 +10,20 @@ public partial class MenuTransferPage : ContentPage
void ContentPage_NavigatedTo(System.Object sender, Microsoft.Maui.Controls.NavigatedToEventArgs e) void ContentPage_NavigatedTo(System.Object sender, Microsoft.Maui.Controls.NavigatedToEventArgs e)
{ {
} }
public async void RIB_Clicked(Object sender, EventArgs e)
{
await Navigation.PushAsync(new RibPage());
}
public async void Request_Clicked(System.Object sender, System.EventArgs e)
{
await Navigation.PushAsync(new RequestPage());
}
public async void Transfer_Clicked(System.Object sender, System.EventArgs e)
{
await Navigation.PushAsync(new TransferPage());
}
} }

Loading…
Cancel
Save