private void buttonYes_Click(object sender, EventArgs e) { if (_currentSetup != null) { ((CSettings)_currentSetup.Settings).SoundConfig.VoiceIndex = _currentVoiceIndex; _currentSetup.SaveSettings(); } }