Ejemplo n.º 1
0
        public TransportPage(WizardParams Params)
            : base(Params)
        {
            InitializeComponent();

            _treeView.NodeControls.Clear();
            _treeView.AddIconControl("Icon");
            _treeView.AddTextBoxControl("Name");
            //List<ComponentWrapper> CWL = new List<ComponentWrapper>();
            //foreach (LibraryCategoryWrapper LCWW in PK.Wrapper.GetTransports())
            //{
            //    if (PW.IsSolutionWizardVisible) PWL.Add(PW);
            //}

            _treeView.SetModel(InventoryBrowserModel.GetComponentNodeModel <LibraryCategoryWrapper>(PK.Wrapper.GetTransports().ToArray()), false);
        }
Ejemplo n.º 2
0
        public ProcessorPage(WizardParams Params)
            : base(Params)
        {
            InitializeComponent();
            _treeView.NodeControls.Clear();
            _treeView.AddIconControl("Icon");
            _treeView.AddTextBoxControl("Name");
            List <ProcessorWrapper> PWL = new List <ProcessorWrapper>();

            foreach (ProcessorWrapper PW in PK.Wrapper.GetProcessors())
            {
                if (PW.IsSolutionWizardVisible)
                {
                    PWL.Add(PW);
                }
            }

            _treeView.SetModel(InventoryBrowserModel.GetComponentNodeModel <ProcessorWrapper>(PWL.ToArray()), false);
        }