public MainWindow(MainWindowViewModel viewModel)
        {
            //TODO: DI CONTAINER
            this.DataContext = viewModel;

            var presentationView = new PresentationView(viewModel);

            viewModel.AddPresentationView(presentationView);

            presentationView.Show();

            InitializeComponent();
        }
示例#2
0
 internal void AddPresentationView(PresentationView presentationView)
 {
     _presentationView = presentationView;
 }