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 !");
     }
 }
Esempio n. 2
0
 void BtnRetour_Click(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoBack(this);
 }
Esempio n. 3
0
 void Deconnexion(object sender, FormClosedEventArgs e)
 {
     ActionButtonGeneric.Deconnexion();
 }
Esempio n. 4
0
 void BtnNouveauProjetClick(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoNextForm(this, new Vues.CreerClient());
 }
Esempio n. 5
0
 void BtnOuvrirProjetClick(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoNextForm(this, new OuvrirProjet());
 }
Esempio n. 6
0
 void BtnConfig_Click(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoNextForm(this, new GestionConfiguration());
 }
Esempio n. 7
0
 void BtnGoMatièreClick(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoNextForm(this, new GestionMatière());
 }
Esempio n. 8
0
 void BtnFourn_Click(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoNextForm(this, new GestionFournisseur());
 }
Esempio n. 9
0
 void BtnGamme_Click(object sender, EventArgs e)
 {
     ActionButtonGeneric.GoNextForm(this, new GestionGamme());
 }