parent
69a2945a16
commit
0f90e0c938
@ -1,53 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
x:Class="Banquale.Views.Balance.BalanceView">
|
|
||||||
|
|
||||||
<ListView ItemsSource="{Binding CustomersList[0].AccountsList[0].TransactionsList}"
|
|
||||||
SelectionMode="None">
|
|
||||||
|
|
||||||
<ListView.ItemTemplate>
|
|
||||||
|
|
||||||
<DataTemplate>
|
|
||||||
|
|
||||||
<ViewCell>
|
|
||||||
|
|
||||||
<Grid
|
|
||||||
ColumnDefinitions="40, 3*, *"
|
|
||||||
Margin="20, 5, 20, 5"
|
|
||||||
HorizontalOptions="Fill">
|
|
||||||
|
|
||||||
<Grid.GestureRecognizers>
|
|
||||||
<TapGestureRecognizer
|
|
||||||
Tapped="Transaction_Clicked"
|
|
||||||
NumberOfTapsRequired="1" />
|
|
||||||
|
|
||||||
</Grid.GestureRecognizers>
|
|
||||||
|
|
||||||
<Image Source="dotnet_bot.png"
|
|
||||||
Grid.Column="0"
|
|
||||||
MaximumHeightRequest="30"/>
|
|
||||||
<Label
|
|
||||||
Text="{Binding Date, StringFormat='{0:f}'}"
|
|
||||||
Grid.Column="1"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
Margin="10, 0, 0, 0"/>
|
|
||||||
<Label
|
|
||||||
Text="{Binding Sum, StringFormat='{0} €'}"
|
|
||||||
Grid.Column="2"
|
|
||||||
VerticalOptions="Center"
|
|
||||||
HorizontalOptions="End"
|
|
||||||
Margin="0, 0, 20, 0"/>
|
|
||||||
|
|
||||||
</Grid>
|
|
||||||
|
|
||||||
</ViewCell>
|
|
||||||
|
|
||||||
</DataTemplate>
|
|
||||||
|
|
||||||
</ListView.ItemTemplate>
|
|
||||||
|
|
||||||
</ListView>
|
|
||||||
|
|
||||||
</ContentView>
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
|
||||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
||||||
x:Class="Banquale.Views.SwitchAccountView">
|
|
||||||
|
|
||||||
<VerticalStackLayout>
|
|
||||||
|
|
||||||
<Button Text=" Compte Personnel 
 Mme Tatouille "
|
|
||||||
Clicked="Transfer_Clicked"
|
|
||||||
MinimumHeightRequest="65"
|
|
||||||
FontSize="Large"
|
|
||||||
Margin="0, 10, 0, 10"/>
|
|
||||||
|
|
||||||
<!-- 
 sert à faire un retour à la ligne-->
|
|
||||||
|
|
||||||
</VerticalStackLayout>
|
|
||||||
|
|
||||||
</ContentView>
|
|
@ -1,15 +0,0 @@
|
|||||||
namespace Banquale.Views;
|
|
||||||
|
|
||||||
public partial class SwitchAccountView : ContentView
|
|
||||||
{
|
|
||||||
public SwitchAccountView()
|
|
||||||
{
|
|
||||||
InitializeComponent();
|
|
||||||
}
|
|
||||||
|
|
||||||
public async void Transfer_Clicked(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
await Shell.Current.GoToAsync("//balance");
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in new issue