Esempio n. 1
0
        private void ButtonImportMetadata_Click(object sender, EventArgs e)
        {
            var importMetadataMapDialog = new ImportMetadataMapDialog();

            if (importMetadataMapDialog.ShowDialog() == DialogResult.OK)
            {
                var actionLoadMetadataMap = importMetadataMapDialog.ActionLoadMetadataMap;
                LoadMetadataMap(actionLoadMetadataMap.MetadataMap);
            }
        }
Esempio n. 2
0
        private void ButtonImport_Click(object sender, EventArgs e)
        {
            var importMetadataMapDialog = new ImportMetadataMapDialog();

            if (importMetadataMapDialog.ShowDialog() == DialogResult.OK)
            {
                var metadadoMapa = importMetadataMapDialog.ActionLoadMetadataMap.MetadataMap;

                ListBoxMaps.SelectedItem = metadadoMapa.FileName;
                ButtonLoadMap_Click(null, e);

                MetadataDisplay.ObjectsInMap = metadadoMapa.ObjectsInMap.ToList();
                UpdateView();
            }
        }