private void btnDesbloquear_Click(object sender, EventArgs e) { List <Control> ListaControles = new List <Control>() { this.txtEmpleado, this.txtNombre, this.dtpnacimiento, this.GroupBox1 }; FuncionesBasicas.BloqueadorCajasdeTexto(ListaControles, true); }