public BudgetorMain() { InitializeComponent(); _Repo = new Repo.Repository(); AccountsTabVM = AccountsOM.GetAcountsTabVM(); AccountsTab.DataContext = AccountsTabVM; TransactionsTabVM = TransactionsOM.GetTransactionsTabVM(); TransactionsTab.DataContext = TransactionsTabVM; }
private void UpdateAccountsTab() { AccountsTabVM = AccountsOM.GetAcountsTabVM(); AccountsTab.DataContext = AccountsTabVM; }