void reloadPage(NSNotification notification) { var db = BankRepository.Connection(); Account = db.Get <Account>(Account.Id); BalanceLabel.Text = "$" + Account.Balance.ToString(); TransactionTableView.Source = new AccountTransactionTableDataSource(this); TransactionTableView.ReloadData(); }
void ReleaseDesignerOutlets() { if (AccountNameLabel != null) { AccountNameLabel.Dispose(); AccountNameLabel = null; } if (BackButton != null) { BackButton.Dispose(); BackButton = null; } if (BalanceLabel != null) { BalanceLabel.Dispose(); BalanceLabel = null; } if (DepositButton != null) { DepositButton.Dispose(); DepositButton = null; } if (QuickDepositButton != null) { QuickDepositButton.Dispose(); QuickDepositButton = null; } if (TransactionTableView != null) { TransactionTableView.Dispose(); TransactionTableView = null; } if (WithdrawlButton != null) { WithdrawlButton.Dispose(); WithdrawlButton = null; } }