public winComponentDetails(ComponentDescription component)
        {
            InitializeComponent();

            var reader = new IO.Descriptions.BinaryDescriptionReader();
            using (var file = System.IO.File.OpenRead(component.Source.Path))
            {
                if (reader.Read(file))
                {
                    lbxResources.ItemsSource = reader.Items;
                }
            }
        }
Esempio n. 2
0
        public winComponentDetails(ComponentDescription component)
        {
            InitializeComponent();

            var reader = new IO.Descriptions.BinaryDescriptionReader();

            using (var file = System.IO.File.OpenRead(component.Source.Path))
            {
                if (reader.Read(file))
                {
                    lbxResources.ItemsSource = reader.Items;
                }
            }
        }