Пример #1
0
 private void tef_OnDepoisConfirmarTransacoes(object sender, DepoisConfirmarTransacoesEventArgs e)
 {
     try
     {
         foreach (Resp Resposta in e.RespostasPendentes)
         {
             string[] Linhas = new string[5];
             Linhas[0] = string.Format("Confirmado: {0} ID: {1}", Resposta.Header, Resposta.ID);
             Linhas[1] = string.Format("Rede: {0}", Resposta.Rede);
             Linhas[2] = string.Format("NSU: {0}", Resposta.NSU);
             Linhas[3] = string.Format("Valor: {0}", Resposta.Rede);
             Linhas[4] = string.Format("Campo 11: {0}", Resposta.LeInformacao(11));;
             WriteResp(Linhas);
         }
     }
     catch (Exception ex)
     {
         messageToolStripStatusLabel.Text     = "Exception";
         descriptionToolStripStatusLabel.Text = ex.Message;
     }
 }