AoMDdtConverter.Form1.CreateSettings C# (CSharp) Method

CreateSettings() private method

private CreateSettings ( ) : void
return void
        private void CreateSettings()
        {
            StringBuilder exps = new StringBuilder();
            StringBuilder imps = new StringBuilder();

            exps.Append(" -c " + this.defaultCompressionComboBox.SelectedValue);

            if (this.nmMapRadioButton.Checked)
            {
                imps.Append(" -nm");
            }
            else if (this.specMapRadioButton.Checked)
            {
                imps.Append(" -spec");
            }
            else if (this.glossMapRadioButton.Checked)
            {
                imps.Append(" -gloss");
            }

            this.importSettings = exps.ToString(1, exps.Length - 1);
            if (imps.Length > 0)
            {
                this.exportSettings = imps.ToString(1, imps.Length - 1);
            }
            else
            {
                this.exportSettings = string.Empty;
            }
        }