예제 #1
0
        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;
 }