public CreateNewAccountPage(IBankAccountFunctions bankAccountFunctions) { InitializeComponent(); _bankAccountFunctions = bankAccountFunctions; loadMe(); }
public MainPage() { InitializeComponent(); IDatabaseFunctions databaseFunctions = new DatabaseFunctions(Properties.Settings.Default.SqliteFilePath); _bankAccountFunctions = new BankAccountFunctions(databaseFunctions); }
public TransactionView(int bankAccountId, IBankAccountFunctions bankAccountFunctions) { InitializeComponent(); _bankAccountId = bankAccountId; _bankAccountFunctions = bankAccountFunctions; _details = _bankAccountFunctions.ViewAccountDetails(_bankAccountId); }