#pragma warning restore SS002 // DateTime.Now was referenced private void OnLocalizationUpdated(object sender, LocalizationEventArgs e) { PostCategoryTextBlock .GetBindingExpression(TextBlock.TextProperty)? .UpdateTarget(); }
private static void main_LanguageChangedEvent(object sender, LocalizationEventArgs eventArgs) { var newCulture = eventArgs.Culture; Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo(newCulture); Thread.CurrentThread.CurrentUICulture = CultureInfo.GetCultureInfo(newCulture); _doNotExit = true; _fm?.Close(); }
private void OnLocalizationUpdated(object sender, LocalizationEventArgs e) { PurposeProfileStat .GetBindingExpression(UserProfileStat.StatValueProperty)? .UpdateTarget(); SexProfileStat .GetBindingExpression(UserProfileStat.StatValueProperty)? .UpdateTarget(); }
private void OnLocalizationUpdated(object sender, LocalizationEventArgs e) { UpdatePostsTypes(); }
private static void OnLocalizationUpdated( object sender, LocalizationEventArgs e) { LocalizationUpdated?.Invoke( sender, e); }
private static void OnLocalizationsNotFound( object sender, LocalizationEventArgs e) { LocalizationsNotFound?.Invoke( sender, e); }
private void OnLocalizationUpdated(object sender, LocalizationEventArgs e) { ReloadPostCategories(); }