コード例 #1
0
 /// <summary>
 /// Sets a localized info tip that will update automatically when the language changes.
 /// </summary>
 /// <param name="text">The input to the string parser which will localize info tip.</param>
 protected void SetLocalizedInfoTip(string text)
 {
     _infoTipToBeLocalized = new LanguageDependentString(text);
     _infoTipToBeLocalized.ValueChanged += EhInfoTipLocalizationChanged;
     EhInfoTipLocalizationChanged(_infoTipToBeLocalized, EventArgs.Empty);
 }
コード例 #2
0
 /// <summary>
 /// Sets a localized title that will update automatically when the language changes.
 /// </summary>
 /// <param name="text">The input to the string parser which will localize title.</param>
 protected virtual void SetLocalizedTitle(string text)
 {
     _titleToBeLocalized = new LanguageDependentString(text);
     _titleToBeLocalized.ValueChanged += EhTitleLocalizationChanged;
     EhTitleLocalizationChanged(_titleToBeLocalized, EventArgs.Empty);
 }