/// <summary> /// Shows the IFC export setup window when clicking the buttonEditSetup. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="args">Event arguments that contains the event data.</param> private void buttonEditSetup_Click(object sender, RoutedEventArgs args) { IFCExportConfiguration selectedConfig = GetSelectedConfiguration(); IFCExportConfigurationsMap configurationsMap = new IFCExportConfigurationsMap(m_configMap); IFCExporterUIWindow editorWindow = new IFCExporterUIWindow(configurationsMap, selectedConfig.Name); editorWindow.ShowDialog(); if (editorWindow.DialogResult.HasValue && editorWindow.DialogResult.Value) { IFCCommandOverrideApplication.PotentiallyUpdatedConfigurations = true; currentSelectedSetup.Items.Clear(); m_configMap = configurationsMap; String selectedConfigName = editorWindow.GetSelectedConfigurationName(); UpdateCurrentSelectedSetupCombo(selectedConfigName); } }