corrige le label du bouton

vnext
Paul Schneider 8 years ago
parent 0548f8882b
commit c9211fbb99
2 changed files with 12 additions and 7 deletions

@ -93,12 +93,14 @@
Path=IsValid, Path=IsValid,
Converter={StaticResource boolToStyleImage}}" /> Converter={StaticResource boolToStyleImage}}" />
</StackLayout> </StackLayout>
<Button Text="Términé" <StackLayout Orientation="Horizontal">
<Button Text="Supprimer"
Command="{Binding DeleteCommand}" Command="{Binding DeleteCommand}"
Clicked="OnValidateClicked"></Button> Clicked="OnDeleteClicked"></Button>
<Button Text="Términé" <Button Text="Términé"
Command="{Binding ValidateCommand}" Command="{Binding ValidateCommand}"
Clicked="OnValidateClicked"></Button> Clicked="OnValidateClicked"></Button>
</StackLayout> </StackLayout>
</StackLayout>
</ScrollView> </ScrollView>
</ContentPage> </ContentPage>

@ -16,7 +16,10 @@ namespace BookAStar.Pages
picker.Items.Add(du); picker.Items.Add(du);
BindingContext = model; BindingContext = model;
} }
public void OnDeleteClicked(object sender, EventArgs e)
{
throw new NotImplementedException();
}
public void OnValidateClicked (object sender, EventArgs e) public void OnValidateClicked (object sender, EventArgs e)
{ {
this.Navigation.PopAsync(); this.Navigation.PopAsync();

Loading…