public RepaymentManager() { this.InitializeComponent(); this.repaymentManagerVierModel = ViewModelLocator.RepaymentManagerViewModel; this.budgetManagerViewModel = ViewModelLocator.BudgetProjectViewModel; base.DataContext = this.repaymentManagerVierModel; TiltEffect.SetIsTiltEnabled(this, true); base.Loaded += new RoutedEventHandler(this.RepaymentManager_Loaded); }
public RepaymentManager() { this.InitializeComponent(); this.repaymentManagerVierModel = ViewModelLocator.RepaymentManagerViewModel; this.budgetManagerViewModel = ViewModelLocator.BudgetProjectViewModel; base.DataContext = this.repaymentManagerVierModel; TiltEffect.SetIsTiltEnabled(this, true); base.Loaded += new RoutedEventHandler(this.RepaymentManager_Loaded); this.SetApplicationBarText(); this.MainPivot.SelectionChanged += new SelectionChangedEventHandler(this.MainPivot_SelectionChanged); this.MonthlyExpenseGrid.DataContext = ViewModelLocator.MainPageViewModel.AccountMonthBudget; }