|
|
|
@ -1,10 +1,53 @@
|
|
|
|
|
using Model;
|
|
|
|
|
|
|
|
|
|
namespace IHM.Desktop;
|
|
|
|
|
|
|
|
|
|
public partial class Operations : ContentView
|
|
|
|
|
{
|
|
|
|
|
public Operations()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Operation> operations;
|
|
|
|
|
public Operations()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
// Temporaire pour établir le binding de la vue
|
|
|
|
|
operations = new List<Operation>();
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
operations.Add(new("course", "CB", "Alimentation", "12/12/2022", 22.45));
|
|
|
|
|
operations.Add(new("essence", "cheque", "Carburant", "12/12/2022", 45.80));
|
|
|
|
|
operations.Add(new("Orange", "Prelevement", "Facture", "12/12/2022", 48));
|
|
|
|
|
|
|
|
|
|
BindingContext = operations;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void AddCredit_Clicked(object sender, EventArgs e)
|
|
|
|
|