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