Beispiel #1
0
        public void loadModelFromZ3()
        {
            LoadZ3Form loadform = new LoadZ3Form(launchedFromAddin, ctrl);

            if (parameterConfiguration != null)
            {
                loadform.setParameterConfiguration(parameterConfiguration);
            }
            else
            {
                loadform.reloadParameterConfiguration();
            }

            DialogResult dialogResult;

            dialogResult = loadform.ShowDialog();
            if (dialogResult != DialogResult.OK)
            {
                return;
            }

            parameterConfiguration = loadform.GetParameterConfiguration();
            ParameterConfiguration.saveParameterConfigurationToSettings(parameterConfiguration);

            loadModel(parameterConfiguration, Loader.LoaderTask.LoaderTaskZ3);
        }
Beispiel #2
0
        public void loadModelFromZ3()
        {
            LoadZ3Form loadform = new LoadZ3Form(launchedFromAddin, ctrl);
              if (parameterConfiguration != null)
              {
            loadform.setParameterConfiguration(parameterConfiguration);
              }
              else
              {
            loadform.reloadParameterConfiguration();
              }

              DialogResult dialogResult;

              dialogResult = loadform.ShowDialog();
              if (dialogResult != DialogResult.OK)
            return;

              parameterConfiguration = loadform.GetParameterConfiguration();
              ParameterConfiguration.saveParameterConfigurationToSettings(parameterConfiguration);

              loadModel(parameterConfiguration, Loader.LoaderTask.LoaderTaskZ3);
        }