Example #1
0
 public void gettransinfo(int np, broker b)
 {
     if (np == 0)
     {
         trust = false;
         vtb.AppendText("\tTransaction failed with :" + b.ToString() + " !\n");
     }
     else
     {
         trust = true;
         vtb.AppendText("\tTransaction completed with :" + b.ToString() + " for " + np + "$ !\n");
     }
 }
Example #2
0
 public void sendredemption(broker b)
 {
     if (lastpay.geti() == 0)
     {
         vtb.AppendText("No payments made !\n");
     }
     else
     {
         vtb.AppendText("Redepmtion sent to broker: " + b.ToString() + " !\n");
         redmess rm = new redmess(lastpay, ucomm);
         b.getredemption(rm, this);
     }
 }
Example #3
0
 public void sendredemption(broker b)
 {
     if (lastpay.geti() == 0)
         vtb.AppendText("No payments made !\n");
     else
     {
         vtb.AppendText("Redepmtion sent to broker: " + b.ToString() + " !\n");
         redmess rm = new redmess(lastpay, ucomm);
         b.getredemption(rm, this);
     }
 }
Example #4
0
 public void gettransinfo(int np, broker b)
 {
     if (np == 0)
     {
         trust = false;
         vtb.AppendText("\tTransaction failed with :" + b.ToString() + " !\n");
     }
     else
     {
         trust = true;
         vtb.AppendText("\tTransaction completed with :" + b.ToString() + " for " + np + "$ !\n");
     }
 }