pull/143/head
Hugo LIVET 2 years ago
commit fd34a64857

@ -32,15 +32,15 @@
<ContentView Grid.Row="2" Grid.Column="0" Grid.RowSpan="3" Grid.ColumnSpan="2">
<CollectionView Grid.Row="2" Grid.Column="0" Grid.RowSpan="3" Grid.ColumnSpan="2" ItemsSource="{Binding User.LesBanques}" >
<ContentView Grid.Row="2" Grid.Column="0" Grid.RowSpan="2" Grid.ColumnSpan="2" >
<CollectionView Grid.Row="2" Grid.Column="0" Grid.RowSpan="2" Grid.ColumnSpan="2" ItemsSource="{Binding AllBanque}" >
<CollectionView.ItemTemplate>
<DataTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1.75*"/>
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="0.5*"/>
<ColumnDefinition Width="1.5*"/>
<ColumnDefinition Width="0.5*"/>
</Grid.ColumnDefinitions>
@ -49,6 +49,7 @@
FontAttributes="Bold" FontSize="Body"
HorizontalOptions="Center"
VerticalOptions="Center"/>
<ImageButton Grid.Column="2" Source="reload_banks.png"
Padding="10" Margin="5"
CornerRadius="10" HeightRequest="45"

@ -8,9 +8,13 @@ public partial class CV_HomePage : ContentView
public CV_HomePage()
{
InitializeComponent();
Mgr.LoadBanque();
Mgr.LoadCompte();
BindingContext = Mgr;
//Mgr.LoadBanques();
}
}

@ -39,8 +39,9 @@
<ContentView Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="3" Grid.RowSpan="6" x:Name="mainCV">
<Border Stroke="{StaticResource Corail}" StrokeThickness="4" Margin="10,0,0,0" StrokeShape="RoundRectangle 40,5,5,40">
</Border>
<Border Stroke="{StaticResource Yellow100Accent}" StrokeThickness="4" Margin="10,0,10,10" StrokeShape="RoundRectangle 45,5,5,45">
<Image Source="refresh.png"/>
</Border>
</ContentView>

@ -12,7 +12,7 @@ public partial class Dashboard
InitializeComponent();
BindingContext = Mgr.User;
mainCV.Content = new CV_HomePage();
}

Loading…
Cancel
Save