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;
                }
            }
        }
Ejemplo 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;
                }
            }
        }