public ShellModel(BalancesForShellCalculator balancesForShellCalculator) { _balancesForShellCalculator = balancesForShellCalculator; MyMainMenuModel = new MainMenuModel(); MyMainMenuModel.PropertyChanged += MyMainMenuModelPropertyChanged; MyForestModel = new AccountForestModel(); MyForestModel.PropertyChanged += MyForestModelPropertyChanged; MyBalanceListModel = new BalanceListModel(); MyTwoSelectorsModel = new TwoSelectorsModel(); MyTwoSelectorsModel.PropertyChanged += MyTwoSelectorsModelPropertyChanged; MyStatusBarModel = new StatusBarModel(); }
public BalanceListViewModel(ShellModel shellModel) { MyBalanceListModel = shellModel.MyBalanceListModel; }