You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
using Model;
|
|
|
|
|
|
|
|
namespace IHM.Desktop;
|
|
|
|
|
|
|
|
public partial class CV_retirer : ContentView
|
|
|
|
{
|
|
|
|
public Manager Mgr => (App.Current as App).Manager;
|
|
|
|
public CV_retirer()
|
|
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
Mgr.LoadBanque();
|
|
|
|
Mgr.LoadCompte();
|
|
|
|
|
|
|
|
BindingContext = Mgr;
|
|
|
|
}
|
|
|
|
|
|
|
|
private void Button_Annuler(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
private void Button_Valider(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
var s = recup.SelectedItem;
|
|
|
|
Operation operation = (Operation)s;
|
|
|
|
Mgr.supprimerOperation(Mgr.SelectedCompte, operation);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|