ChangeUILanguage() public method

Changes localized text and messages
public ChangeUILanguage ( string locale ) : void
locale string
return void
コード例 #1
0
ファイル: GUIWithSettings.cs プロジェクト: dominhhai/VietOCR
        /// <summary>
        /// Changes localized text and messages
        /// </summary>
        /// <param name="locale"></param>
        /// <param name="firstTime"></param>
        protected override void ChangeUILanguage(string locale)
        {
            base.ChangeUILanguage(locale);

            if (optionsDialog != null)
            {
                optionsDialog.ChangeUILanguage(locale);
            }
        }
コード例 #2
0
        /// <summary>
        /// Changes localized text and messages
        /// </summary>
        /// <param name="locale"></param>
        /// <param name="firstTime"></param>
        protected override void ChangeUILanguage(string locale)
        {
            base.ChangeUILanguage(locale);

            if (optionsDialog != null)
            {
                optionsDialog.ChangeUILanguage(locale);
            }
            statusForm.Text = Properties.Resources.BatchProcessStatus;
        }