Example #1
0
        public ImportForm(Model model, TreeView treeView, DataGridView dataGridViewRawData)
        {
            InitializeComponent();

            _model = model;
            _treeView = treeView;
            _dataGridViewRawData = dataGridViewRawData;

            if (_model.AvailablePlugins().Any())
                _loadedPluginsListBox.DataSource = _model.AvailablePlugins();
        }
Example #2
0
        public ExportForm(Model model)
        {
            InitializeComponent();

            _model = model;

            if (_model.AvailablePlugins().Any())
                _loadedPluginsListBox.DataSource = _model.AvailablePlugins();

            foreach (var applicationDataModel in _model.ApplicationDataModels.OrderBy(x => x.Catalog.Description))
            {
                cardProfileSelection.Items.Add(applicationDataModel.Catalog.Description);
            }
        }