示例#1
0
 private void btnStatusServ_Click(object sender, EventArgs e)
 {
     try
     {
         rtbRespostas.AppendText(ACBrMDFe.StatusServico());
     }
     catch (Exception exception)
     {
         MessageBox.Show(exception.Message, @"Erro", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
示例#2
0
        private void btnStatusServ_Click(object sender, EventArgs e)
        {
            if (!validacao())
            {
                MessageBox.Show("Erro Verifique as configurações do certificado");
                return;
            }

            try
            {
                rtbRespostas.AppendText(ACBrMDFe.StatusServico());
            }
            catch (Exception exception)
            {
                MessageBox.Show(exception.Message, @"Erro", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }