示例#1
0
 public void Initialize()
 {
     _importer = new Importer();
     _exporter = new Exporter();
     _importConfigurations = ImportConfigParser.ParseImportSettings(Settings.ImportIni);
     _templates = ExportConfigParser.ParseExportSettings(Settings.ExportIni);
 }
示例#2
0
 public void Initialize()
 {
     _importer = new Importer();
     _importConfigurations = ImportConfigParser.ParseImportSettings(Settings.ImportIni);
 }
示例#3
0
        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;
        }
示例#4
0
 public ImportCommand(Importer importer, Workspace workspace, string[] filenames)
 {
     _importer = importer;
     _filenames = filenames;
     _workspace = workspace;
 }