private void btnEditar_Click(object sender, EventArgs e) { Funcionario f = new Funcionario(); f.ID = Convert.ToInt32(lblID.Text); f.Usuario = txtNovoUsuario.Text; f.Senha = txtNovaSenha.Text; string resposta = bll.Atualizar(f); MessageBox.Show(resposta); FormHelpers.FormCleaner.ClearAllForm(this); this.dataGridView1.DataSource = new FuncionarioBLL().LerTodos(); }