|
|
|
@ -3,10 +3,13 @@ namespace ParionsCuite.Views.Invite;
|
|
|
|
|
|
|
|
|
|
public partial class Inviter : ContentView
|
|
|
|
|
{
|
|
|
|
|
//public Manageur m => (App.Current as App).Manageur;
|
|
|
|
|
public Manageur m = new Manageur();
|
|
|
|
|
|
|
|
|
|
public Modeles.Inviter Inviters { get; private set; } = new Modeles.Inviter();
|
|
|
|
|
public Inviter()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
this.BindingContext = this;
|
|
|
|
|
}
|
|
|
|
|
void ColumnDefinition_SizeChanged(System.Object sender, System.EventArgs e)
|
|
|
|
|
{
|
|
|
|
@ -14,7 +17,10 @@ public partial class Inviter : ContentView
|
|
|
|
|
|
|
|
|
|
private void AddInvitelist(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
// Inviter invite1 = new Inviter(nomEditor.Text, prenomEditor.Text);
|
|
|
|
|
//m.AddInvite(invite1);
|
|
|
|
|
string nom = nomEditor.Text;
|
|
|
|
|
string prenom = prenomEditor.Text;
|
|
|
|
|
Modeles.Inviter invite1 = new Modeles.Inviter(nom, prenom);
|
|
|
|
|
BindingContext = invite1;
|
|
|
|
|
m.AddInvite(invite1);
|
|
|
|
|
}
|
|
|
|
|
}
|