|
|
|
@ -6,37 +6,16 @@ public partial class Operations : ContentView
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<Operation> operations;
|
|
|
|
|
public Manager Mgr => (App.Current as App).Manager;
|
|
|
|
|
public Operations()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
|
|
|
|
// Temporaire pour établir le binding de la vue
|
|
|
|
|
operations = new List<Operation>();
|
|
|
|
|
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("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
|
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("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
|
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("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
|
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("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
|
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("Orange", 50, DateTime.Now, MethodePayement.CB, TagOperation.Divers, true));
|
|
|
|
|
operations.Add(new("EDF", 55.80, DateTime.Now, MethodePayement.Virement, TagOperation.Energie, true));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BindingContext = operations;
|
|
|
|
|
|
|
|
|
|
Mgr.LoadBanque();
|
|
|
|
|
Mgr.LoadCompte();
|
|
|
|
|
|
|
|
|
|
BindingContext = Mgr;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void AddCredit_Clicked(object sender, EventArgs e)
|
|
|
|
|