Example #1
0
        public MainWindowViewModel(IEventAggregator eventAggregator)
        {
            EventAggregator = eventAggregator;
            var launchViewModel = new LaunchViewModel(eventAggregator);

            this.ActivateItem(launchViewModel);

            launchViewModel.ConductWith(this);
        }
Example #2
0
        public void Handle(OpenLaunchViewMessage message)
        {
            var launchViewModel = new LaunchViewModel(EventAggregator);

            this.ActivateItem(launchViewModel);
        }