Esempio n. 1
0
        }       //	getLanguage

        /// <summary>
        /// Set Language
        /// </summary>
        /// <param name="language">language</param>
        public void SetLanguage(VAdvantage.Login.Language language)
        {
            if (language != null)
            {
                _language = language;
                //	log.fine("setLanguage - " + language);
            }
            _translationViewLanguage = null;
        }       //	getLanguage
Esempio n. 2
0
        }       //	setIsTableBased

        /// <summary>
        /// Set Translation View Language.
        /// </summary>
        /// <param name="language">language (checked for base language)</param>
        public void SetTranslationLanguage(VAdvantage.Login.Language language)
        {
            if (language == null || language.IsBaseLanguage())
            {
                _translationViewLanguage = null;
            }
            else
            {
                _translationViewLanguage = language.GetAD_Language();
                _language = language;
            }
        }       //	setTranslationLanguage