Beispiel #1
0
        private void btnCreerEmploye_Click(object sender, EventArgs e)
        {
            PictureBox image;

            cptValide = 0;
            for (int i = 1; i <= 10; i++)
            {
                image         = (PictureBox)groupBox1.Controls["picValid" + i];
                image.Visible = false;
            }
            btnCreerEmploye.Enabled = false;
            form.AddEmploye(txtMatricule.Text, txtNom.Text, txtPrenom.Text, txtAnnee.Text, txtMois.Text, txtJours.Text, txtAdresse.Text, txtCellulaire.Text, txtTelePoste.Text, txtTeleResid.Text, lstRoles.Text);
        }