Exemplo n.º 1
0
        protected override void UpdatePropertyGridSelectedObject(IModelNode imodelNode)
        {
            INodeDescriptor dscr = imodelNode.GetINodeDescriptor();

            if (dscr == null)
            {
                this.PropertyGrid.SelectedObject = null;
            }
            else
            {
                this.PropertyGrid.SelectedObject = new InstanceConfigurationMasterEditor(SolutionTreeNode.SolutionRoot.GetInstanceConfiguration(dscr));
            }
        }