private void btnConsultaProc_Click(object sender, EventArgs e) { Cursor = Cursors.AppStarting; ; lblStatus.Text = "Aguarde..."; btnConsultaProc.Enabled = false; nfec.nfecsharp nfe = new nfec.nfecsharp(); txtConsProces.Text = nfe.NfeRetRecepcao(textBox1.Text); btnConsultaProc.Enabled = true; lblStatus.Text = "Concluído."; Cursor = Cursors.Default; }