private void InitializeViews() { BasesViewModel = new BasesViewModel(db); BasesView = new BasesView { DataContext = BasesViewModel }; PlatformViewModel = new PlatformViewModel(db); PlatformView = new PlatformView { DataContext = PlatformViewModel }; ActionsViewModel = new ActionsViewModel(db); ActionsView = new ActionsView { DataContext = ActionsViewModel }; DistributionViewModel = new DistributionViewModel(db); DistributionView = new DistributionView { DataContext = DistributionViewModel }; HomeViewModel = new HomeViewModel(db); HomeView = new HomeView { DataContext = HomeViewModel }; TelegramViewModel = new TelegramViewModel(db); TelegramView = new TelegramView { DataContext = TelegramViewModel }; }
public DistributionProjection(DistributionView view) { View = view; }