private void btnCadastrar_Click(object sender, EventArgs e)
        {
            CadastroNotaFiscal cadastroNF = new CadastroNotaFiscal(0);

            Hide();
            cadastroNF.Show();
        }
 private void tabela_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == tabela.Columns["Editar"].Index)
     {
         CadastroNotaFiscal visualizarNota = new CadastroNotaFiscal(Convert.ToInt32(tabela.CurrentRow.Cells[1].Value.ToString()));
         Hide();
         visualizarNota.Show();
     }
 }