void UpdateAssets() { SetText(textCash, MyBank.Cash); SetText(textCash2, MyBank.Cash); SetText(textLoans, MyBank.GetTotalMoneyLoaned()); SetText(textLoans2, MyBank.GetTotalMoneyLoaned()); SetText(textBoxLoanReserve, MyBank.LoanReserve); SetText(textDebt, MyBank.GetTotalMoneyBorrowed()); SetText(textDebt2, -MyBank.GetTotalMoneyBorrowed()); SetText(textDeposits, MyBank.GetTotalDeposits()); SetText(textDeposits2, -MyBank.GetTotalDeposits()); SetText(textStocks, MyBank.GetTotalStocks()); SetText(textStocks2, MyBank.GetTotalStocks()); SetText(textBoxTotalInvested, MyBank.GetTotalStocks()); SetText(textTotalAssets2, MyBank.GetTotalAssets()); SetText(textLoansInterest, MyBank.AccumulatedLoansInterest); SetText(textDebtInterest, MyBank.AccumulatedDebtInterest); SetText(textDepositsInterest, MyBank.AccumulatedDepositsInterest); SetText(textStocksGainLoss, MyBank.AccumulatedInvestmentGainLoss); SetText(textTotalHistoricalDefaults, MyBank.AccumulatedDefaults); MyBank.PlotHistory(lineGraphAssetHistory); MyBank.PlotCashHistory(lineGraphCash); MyBank.PlotStocksHistory(lineGraphStocks); MyBank.PlotStocksGainLossHistory(lineGraphInvestmentGainLoss); MyBank.PlotLoansHistory(lineGraphLoans); MyBank.PlotDebtHistory(lineGraphDebt); MyBank.PlotDepositsHistory(lineGraphDeposits); MyBank.PlotDepositsInterestHistory(lineGraphDepositsInterest); MyBank.PlotLoansInterestHistory(lineGraphLoansInterest); MyBank.PlotDebtInterestHistory(lineGraphDebtInterest); MyBank.PlotStocksGainLossHistory2(lineGraphStocksGainLoss); MyBank.PlotDefaultsHistory(lineGraphTotalDefaults); }