private void btnExcluirEstoque_Click(object sender, EventArgs e)
        {
            if (txtid.Text == "")
            {
                MessageBox.Show("Identificador incorreto para realizar esta operação!", "Erro", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            else
            {
                try
                {
                    if (MessageBox.Show("Deseja realmente excluir?", "Inativar", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                    {
                        int id = int.Parse(txtid.Text);
                        if (_estoquePecasController.Deletar(id))
                        {
                            MessageBox.Show("Exclusão realizada com Sucesso!");
                            txtValor.Text       = "";
                            txtDesc.Text        = "";
                            nudQuantidade.Value = 0;
                            txtid.Text          = _estoquePecasController.PopulaID().ToString();

                            btnCadastrarEstoque.Visible = true;
                            lblCancelar.Visible         = false;
                            btnAlterarEstoque.Enabled   = false;
                            btnExcluirEstoque.Enabled   = false;
                        }
                    }
                }
                catch (NaoEncontradoException ex)
                {
                    MessageBox.Show(ex.Message);
                }
                catch (ConcorrenciaBancoException ex)
                {
                    MessageBox.Show(ex.Message);
                }
            }
        }