private void b_excluir_Click(object sender, EventArgs e) { if (tb_id.Text != "0") { NC.Excluir(Convert.ToInt64(tb_id.Text)); loadListBoxNotas(); } }