Ejemplo n.º 1
0
        private void AddNewContent(string filePath)
        {
            var pluginManager    = new PluginManager(filePath);
            var instrumentViewer = new InstrumentViewer();

            foreach (string item in pluginManager.GetNewContent())
            {
                instrumentViewer.AddItem(_path, item);
            }

            var windowFactory = new WindowFactory();

            windowFactory.ReinitializeComboBox(_comboBox, _path);
        }