public void Initialize() { _importer = new Importer(); _exporter = new Exporter(); _importConfigurations = ImportConfigParser.ParseImportSettings(Settings.ImportIni); _templates = ExportConfigParser.ParseExportSettings(Settings.ExportIni); }
public void Initialize() { _importer = new Importer(); _importConfigurations = ImportConfigParser.ParseImportSettings(Settings.ImportIni); }
private void Initialize() { _importConfigurations = ImportConfigParser.ParseImportSettings("imports.ini"); _templates = ExportConfigParser.ParseExportSettings("exports.ini"); _workspace = new Workspace(); _importer = new Importer(); _exporter = new Exporter(); InitializeImportMenu(); InitializeExportMenu(); InitializeMenuItems(); _articlesDataGrid.ItemsSource = _workspace.Articles; _articlesDataGrid.PreviewKeyDown += PreviewKeyDownHandler; }
public ImportCommand(Importer importer, Workspace workspace, string[] filenames) { _importer = importer; _filenames = filenames; _workspace = workspace; }