Ejemplo n.º 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            SetupLogging();
            SetupExceptionHandlers();
            SetupCache();
            ApplicationCulture.ResetCulture();

            FrameworkElement.LanguageProperty.OverrideMetadata(
                typeof(FrameworkElement),
                new FrameworkPropertyMetadata(XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));
        }
Ejemplo n.º 2
0
 public void BaseSetup()
 {
     ApplicationCulture.SetCulture(Str.Culture);
 }
Ejemplo n.º 3
0
 private void OnSettingsUpdated(Properties.Settings obj)
 {
     ApplicationCulture.ResetCulture();
     DashboardViewModel.OnSettingsUpdated();
     Application.Current.UpdateBindingTargets();
 }