void BtnModifier_Click(object sender, EventArgs e) { try { //BDDExterne.SupprimerModule(); //BDDExterne.AjouterModule(); ActionButtonGeneric.GoBack(this); } catch (FormatException ex) { MessageBox.Show("Le champ numéro de rue n'est pas correctement rempli !"); } }
void BtnModifierClick(object sender, EventArgs e) { client.cliNom = textBoxNom.Text; client.cliPrenom = textBoxPrenom.Text; client.cliRue = textBoxRue.Text; client.cliCp = textBoxCodePostal.Text; client.cliVille = textBoxVille.Text; client.cliTel = textBoxTelephone.Text; client.cliEmail = textBoxEmail.Text; ActionButtonGeneric.GoBack(this); }
void BtnRetour_Click(object sender, EventArgs e) { ActionButtonGeneric.GoBack(this); }