예제 #1
0
        public void Edit()
        {
            EditScreenViewModel editScreenViewModel = _resolutionRoot.Get <EditScreenViewModel>(new ConstructorArgument("screen", SelectedScreen));

            ((ISupportParentViewModel)editScreenViewModel).ParentViewModel = this;
            DialogService.ShowDialog("Screen Editor", editScreenViewModel);
            Refresh();
        }
예제 #2
0
        public void Add()
        {
            EditScreenViewModel editScreenViewModel = _resolutionRoot.Get <EditScreenViewModel>();

            ((ISupportParentViewModel)editScreenViewModel).ParentViewModel = this;
            DialogService.ShowDialog("Screen Editor", editScreenViewModel);
            Refresh();
        }