Ejemplo n.º 1
0
 public void NotifyStartingAccount(IAccountControl act)
 {
     if (act.CurAccount < 1)
     {
         return;
     }
     accountStartCounts[act.CurAccount - 1]++;
     EventNotify?.Invoke("startingAccount", act.CurAccount.ToString());
     Logger.Info($"=======================> Starting account {act.CurAccount}");
 }
Ejemplo n.º 2
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="TreasuryReportScreen"/> class from an <see cref="IAccountControl"/> and
 ///     a <see cref="IPressAnyKeyControl"/> components.
 /// </summary>
 /// <param name="accountControl">The control that displays the current balances of both the treasury and Swiss bank account, and
 ///     also displays the monthly costs.</param>
 /// <param name="pressAnyKeyControl">The control that is displayed when the user is required to press a key.</param>
 public TreasuryReportScreen(IAccountControl accountControl, IPressAnyKeyControl pressAnyKeyControl)
 {
     this.accountControl     = accountControl;
     this.pressAnyKeyControl = pressAnyKeyControl;
 }
Ejemplo n.º 3
0
 public TransferToSwissBankAccountScreen(IAccountControl accountControl, IPressAnyKeyControl pressAnyKeyControl)
 {
     this.accountControl     = accountControl;
     this.pressAnyKeyControl = pressAnyKeyControl;
 }