private void button2_Click(object sender, EventArgs e) { br.com.byjg.CEPService cepclass = new CEPSample.br.com.byjg.CEPService(); listResposta.Items.AddRange(cepclass.obterCEPAuth(txtLogradouro.Text, txtCidade.Text, txtEstado.Text, txtUsuario.Text, txtSenha.Text)); }
private void button1_Click(object sender, EventArgs e) { br.com.byjg.CEPService cepclass = new CEPSample.br.com.byjg.CEPService(); lblResposta.Text = cepclass.obterLogradouroAuth(txtCEP.Text, txtUsuario.Text, txtSenha.Text); }