void AdicionarFornecedor() { BancoDados bd = new BancoDados(); Fornecedores fornecedor = new Fornecedores(); fornecedor.E_CNPJ = txtCNPJ.Text; fornecedor.E_Contato = txtContato.Text; fornecedor.E_Email = txtEmail.Text; fornecedor.E_IE = txtIE.Text; fornecedor.E_RazaoSocial = txtRazaoSocial.Text; fornecedor.E_Tel = txtTel.Text; if (fornecedor._Adicionar(fornecedor, bd.StringConexao())) { MessageBox.Show("Fornecedor Cadastrado com Sucesso!"); CarregarLista(); } else { MessageBox.Show("Erro ao Cadastrar a Fornecedor..."); } }