public void GetConfigValuesForFreshInstall(string serverName)
        {
            ServerName = serverName;

            var configValues = new ConfigValueForm(ServerName);

            configValues.ShowDialog();

            Application.EnableVisualStyles();

            _retrievedConfigValues = new ConfigValueSet();
            _retrievedConfigValues = configValues.ConfigValues;
        }
Exemple #2
0
        private void saveButton_Click(object sender, EventArgs e)
        {
            ConfigValues = new ConfigValueSet
            {
                InputSystemType        = inputSystemTypeComboBox.SelectedItem.ToString(),
                OutputSystemType       = outputSystemTypeComboBox.SelectedItem.ToString(),
                VerticalPanels         = verticalPanelsTextBox.Text.Trim(),
                HorizontalPanels       = horizontalPanelsTextBox.Text.Trim(),
                AlphaControlServiceUrl = ServerName,
                SystemManagementUrl    = ServerName,
                License = GetLicenseForAlpha(ServerName)
            };

            Application.Exit();
        }