Esempio n. 1
0
 public void Initialize()
 {
     _importer = new Importer();
     _exporter = new Exporter();
     _importConfigurations = ImportConfigParser.ParseImportSettings(Settings.ImportIni);
     _templates = ExportConfigParser.ParseExportSettings(Settings.ExportIni);
 }
Esempio n. 2
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;
        }