コード例 #1
0
ファイル: AbbreviationsManager.cs プロジェクト: zezo010/acat
        /// <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();
        }
コード例 #2
0
 /// <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);
 }