public void MakeTransaction(uint sID, uint rID, uint amount)
        {
            trans = myBank.GetTransactionInterface();
            uint transID = trans.CreateTransaction();

            trans.SelectTransaction(transID);
            trans.SetSendr(sID);
            trans.SetRecvr(rID);
            trans.SetAmount(amount);
            myBank.ProcessAllTransactions();
            myBank.SaveToDisk();
        }
Пример #2
0
 public void SelectTransaction(uint TransactionID)
 {
     ITransactionAccess.SelectTransaction(TransactionID);
 }
 public void SelectTransaction(uint transactionID)
 {
     iTransactionAccess.SelectTransaction(transactionID);
 }