private void CheckedListBox1_SelectedIndexChanged(object sender, EventArgs e)
        {
            var box = sender as CheckedListBox;

            if (box == null)
            {
                return;
            }

            var item = box.SelectedItem as CreationOptionListOption;

            _descriptionTextBox.Text = MapConvertOptionManager.GetDescriptionString(item);
        }
        private void CheckedListBox1_ItemCheck(object sender, ItemCheckEventArgs e)
        {
            var item = checkedListBox1.Items[e.Index] as CreationOptionListOption;

            if (e.NewValue == CheckState.Checked)
            {
                int index = MapConvertOptionManager.CheckedOptionItem(item.name);
                SetComboBoxCellStyle(item, index);
            }
            if (e.NewValue == CheckState.Unchecked)
            {
                MapConvertOptionManager.UncheckedOptionItem(item.name);
            }
        }
        public List <string> GetMapConvertOptions()
        {
            List <string> options = new List <string>();

            options.AddRange(MapConvertOptionManager.GetConfigOptionsString());

            string dataTypeString = GetOutputDataTypeOptionText();

            options.AddRange(MapConvertOptionManager.GetOutputDataTypeOptionString(dataTypeString));

            options.AddRange(GetOutSizeOptions());

            string additionalOptionsString = GetAdditionalOptionsText();
            var    additionalOptions       = GdalConfigManager.GdalCommandLineParsing(additionalOptionsString);

            if (additionalOptions.Length > 0)
            {
                options.AddRange(additionalOptions.ToList());
            }

            return(options);
        }