Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            IGestionEmployes
                gestionEmployes = GestionEmployesBuilderClassFactory.getInterface();

            int    IdVille          = Convert.ToInt32(textBoxIdVille.Text);
            string CodeVille        = textBoxCodeVille.Text;
            string DescriptionVille = textBoxDescriptionVille.Text;
            Ville  ville            = new Ville(IdVille, CodeVille, DescriptionVille);

            gestionEmployes.updateVille(ville);

            this.Close();
        }