Beispiel #1
0
 private void NCN()
 {
     try
     {
         using (CNF_CNCForm NCN = new CNF_CNCForm())
         {
             NCN.IsNCN = true;
             if (NCN.ShowDialog().Equals(DialogResult.OK))
             {
                 acBrTEFD1.NCN(NCN.Rede, NCN.NSU, NCN.Finalizacao, NCN.Valor);
                 WriteResp("NCN executado com sucesso");
             }
         }
     }
     catch (Exception ex)
     {
         messageToolStripStatusLabel.Text     = "Exception";
         descriptionToolStripStatusLabel.Text = ex.Message;
     }
 }
Beispiel #2
0
 private void CNF()
 {
     try
     {
         using (CNF_CNCForm CNF = new CNF_CNCForm())
         {
             CNF.IsNCN = false;
             if (CNF.ShowDialog().Equals(DialogResult.OK))
             {
                 acBrTEFD1.CNF(CNF.Rede, CNF.NSU, CNF.Finalizacao);
                 WriteResp("CNF executado com sucesso");
             }
         }
     }
     catch (Exception ex)
     {
         messageToolStripStatusLabel.Text     = "Exception";
         descriptionToolStripStatusLabel.Text = ex.Message;
     }
 }
Beispiel #3
0
 private void NCN()
 {
     try
     {
         using (CNF_CNCForm NCN = new CNF_CNCForm())
         {
             NCN.IsNCN = true;
             if (NCN.ShowDialog().Equals(DialogResult.OK))
             {
                 acBrTEFD1.NCN(NCN.Rede, NCN.NSU, NCN.Finalizacao, NCN.Valor);
                 WriteResp("NCN executado com sucesso");
             }
         }
     }
     catch (Exception ex)
     {
         messageToolStripStatusLabel.Text = "Exception";
         descriptionToolStripStatusLabel.Text = ex.Message;
     }
 }
Beispiel #4
0
 private void CNF()
 {
     try
     {
         using (CNF_CNCForm CNF = new CNF_CNCForm())
         {
             CNF.IsNCN = false;
             if (CNF.ShowDialog().Equals(DialogResult.OK))
             {
                 acBrTEFD1.CNF(CNF.Rede, CNF.NSU, CNF.Finalizacao);
                 WriteResp("CNF executado com sucesso");
             }
         }
     }
     catch (Exception ex)
     {
         messageToolStripStatusLabel.Text = "Exception";
         descriptionToolStripStatusLabel.Text = ex.Message;
     }
 }