コード例 #1
0
        public void Edit()
        {
            EditHallViewModel editHallViewModel = _resolutionRoot.Get <EditHallViewModel>(new ConstructorArgument("hall", SelectedHall));

            ((ISupportParentViewModel)editHallViewModel).ParentViewModel = this;
            DialogService.ShowDialog("Hall Editor", editHallViewModel);
            Refresh();
        }
コード例 #2
0
        public void Add()
        {
            EditHallViewModel editHallViewModel = _resolutionRoot.Get <EditHallViewModel>();

            ((ISupportParentViewModel)editHallViewModel).ParentViewModel = this;
            DialogService.ShowDialog("Hall Editor", editHallViewModel);
            Refresh();
        }