public void Edit() { EditScreenViewModel editScreenViewModel = _resolutionRoot.Get <EditScreenViewModel>(new ConstructorArgument("screen", SelectedScreen)); ((ISupportParentViewModel)editScreenViewModel).ParentViewModel = this; DialogService.ShowDialog("Screen Editor", editScreenViewModel); Refresh(); }
public void Add() { EditScreenViewModel editScreenViewModel = _resolutionRoot.Get <EditScreenViewModel>(); ((ISupportParentViewModel)editScreenViewModel).ParentViewModel = this; DialogService.ShowDialog("Screen Editor", editScreenViewModel); Refresh(); }