/// <summary> /// Event handler for when culture changes /// </summary> /// <param name="sender">sender</param> /// <param name="arg">event args</param> private void Context_EvtCultureChanged(object sender, CultureChangedEventArg arg) { Abbreviations.Dispose(); Init(); }
/// <summary> /// Culture changed. Reinitialize TTS Engine /// </summary> /// <param name="sender">event sender</param> /// <param name="arg">event args</param> private void Context_EvtCultureChanged(object sender, CultureChangedEventArg arg) { SwitchLanguage(arg.Culture); }