예제 #1
0
        public void ManageBudget()
        {
            BudgetManager          window  = new BudgetManager();
            BudgetManagerService   service = new BudgetManagerService(window);
            BudgetManagerViewModel vm      = new BudgetManagerViewModel(service);

            window.DataContext = vm;
            window.Owner       = mainWindow;
            window.ShowDialog();
        }
 public BudgetManagerService(BudgetManager managerWindow)
 {
     this.parentWindow = managerWindow;
 }