|
|
@ -5,13 +5,13 @@ namespace IHM.Desktop;
|
|
|
|
public partial class Operations : ContentView
|
|
|
|
public partial class Operations : ContentView
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
List<Operation> operations;
|
|
|
|
/* List<Operation> operations;*/
|
|
|
|
public Manager Mgr => (App.Current as App).Manager;
|
|
|
|
public Manager Mgr => (App.Current as App).Manager;
|
|
|
|
public Operations()
|
|
|
|
public Operations()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
|
|
operations = new List<Operation>();
|
|
|
|
/* operations = new List<Operation>();
|
|
|
|
operations.Add(new("op", 33.44, DateTime.Now, MethodePayement.CB, TagOperation.Divers, false));
|
|
|
|
operations.Add(new("op", 33.44, DateTime.Now, MethodePayement.CB, TagOperation.Divers, false));
|
|
|
|
operations.Add(new("course", 45.20, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
operations.Add(new("course", 45.20, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
operations.Add(new("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
operations.Add(new("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
@ -19,13 +19,13 @@ public partial class Operations : ContentView
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Carburant, true));
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Carburant, true));
|
|
|
|
|
|
|
|
|
|
|
|
BindingContext = operations;
|
|
|
|
BindingContext = operations;*/
|
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mgr.LoadBanque();
|
|
|
|
Mgr.LoadBanque();
|
|
|
|
Mgr.LoadCompte();*/
|
|
|
|
Mgr.LoadCompte();
|
|
|
|
/*
|
|
|
|
|
|
|
|
BindingContext = Mgr;*/
|
|
|
|
BindingContext = Mgr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private void AddCredit_Clicked(object sender, EventArgs e)
|
|
|
|
private void AddCredit_Clicked(object sender, EventArgs e)
|
|
|
|