private void Presets_CurrentChanged(object sender, EventArgs e)
        {
            var settingsPath = Path.Combine(_settings.HypermintSettings.PresetPath, "wheel", "text\\");

            if (Presets?.CurrentItem != null)
            {
                var name = Presets.CurrentItem.ToString();
                ProcessWheelSetting = _textImageService.DeserializePreset(settingsPath + name);
            }
        }
Beispiel #2
0
        private void Presets_CurrentChanged(object sender, EventArgs e)
        {
            var settingsPath = Path.Combine(_settingsRepo.HypermintSettings.PresetPath, "wheel\\text\\");
            var name         = Presets.CurrentItem?.ToString();

            if (name != null)
            {
                CurrentWheelSetting = _textImageService.DeserializePreset(settingsPath + name);
                SetUIValuesFromPreset(CurrentWheelSetting);
            }
        }