void BtnModifier_Click(object sender, EventArgs e) { try { fournisseur.fouNom = TextBoxFournisseur.Text; fournisseur.fouAdrNumero = Int32.Parse(TextBoxNumRue.Text); fournisseur.fouAdrRue = TextBoxRue.Text; fournisseur.fouVille = TextBoxVille.Text; fournisseur.fouAdrCodePostal = TextBoxCodePostal.Text; fournisseur.fouTel = TextBoxTelephone.Text; fournisseur.fouMail = TextBoxEmail.Text; fournisseur.fouPays = ComboBoxPays.Text; ActionButtonGeneric.GoBack(this); } catch (FormatException) { MessageBox.Show("Le champ numéro de rue n'est pas correctement rempli !"); } }
void BtnRetour_Click(object sender, EventArgs e) { ActionButtonGeneric.GoBack(this); }
void Deconnexion(object sender, FormClosedEventArgs e) { ActionButtonGeneric.Deconnexion(); }
void BtnNouveauProjetClick(object sender, EventArgs e) { ActionButtonGeneric.GoNextForm(this, new Vues.CreerClient()); }
void BtnOuvrirProjetClick(object sender, EventArgs e) { ActionButtonGeneric.GoNextForm(this, new OuvrirProjet()); }
void BtnConfig_Click(object sender, EventArgs e) { ActionButtonGeneric.GoNextForm(this, new GestionConfiguration()); }
void BtnGoMatièreClick(object sender, EventArgs e) { ActionButtonGeneric.GoNextForm(this, new GestionMatière()); }
void BtnFourn_Click(object sender, EventArgs e) { ActionButtonGeneric.GoNextForm(this, new GestionFournisseur()); }
void BtnGamme_Click(object sender, EventArgs e) { ActionButtonGeneric.GoNextForm(this, new GestionGamme()); }