private void btnModifier_Click(object sender, EventArgs e)
        {
            int noInviteSelec = (int)((DataRowView)inviteBindingSource.Current)["NoInvite"];

            BD5B6TP1_ConstantinBrassardLaheyDataSet.InviteRow rowSelec =
                bD5B6TP1_ConstantinBrassardLaheyDataSet.Invite.FindByNoInvite(noInviteSelec);

            FrmAjoutInvite frmAjout = new FrmAjoutInvite(rowSelec, true);

            DialogResult resultat = frmAjout.ShowDialog();

            if (resultat == DialogResult.Cancel)
            {
                rowSelec.CancelEdit();
            }
            else
            {
                BaseFormGestion.estSavegarder = false;
            }
        }
        private void btnAjouterInvite_Click(object sender, EventArgs e)
        {
            var nouvelInvite = bD5B6TP1_ConstantinBrassardLaheyDataSet.Invite.NewInviteRow();

            nouvelInvite.NoInvite = DeterminerNoNouvelInvite();
            nouvelInvite.NoClient = (int)((DataRowView)clientBindingSource.Current)["NoClient"];

            FrmAjoutInvite frmAjout = new FrmAjoutInvite(nouvelInvite);

            DialogResult resultat = frmAjout.ShowDialog();

            if (resultat == DialogResult.Cancel)
            {
                return;
            }

            bD5B6TP1_ConstantinBrassardLaheyDataSet.Invite.AddInviteRow(nouvelInvite);
            inviteBindingSource.MoveLast();
            VerifierNbInvites();
            BaseFormGestion.estSavegarder = false;
        }