private void OnLanguageChanged(object sender, EventArgs e) { ready = false; textBoxVoiceActor.Text = actor.GetLocalizedActor(listBoxLanguages.SelectedValue as Language); ready = true; }
public string GetLocalizedVoiceActorFromKit(VoiceKit kit, Language language) { if (kit != null) { VoiceActor actor = GetVoiceActor(kit.VoiceActor); if (actor != null) { return(actor.GetLocalizedActor(language)); } } return(""); }