mirror of
https://github.com/wagesj45/butterflow-ui.git
synced 2024-11-14 05:43:33 -06:00
30 lines
1,019 B
C#
30 lines
1,019 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Configuration;
|
|
using System.Data;
|
|
using System.Globalization;
|
|
using System.Linq;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
|
|
namespace butterflow_ui
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for App.xaml
|
|
/// </summary>
|
|
public partial class App : Application
|
|
{
|
|
/// <summary> Raises the <see cref="E:System.Windows.Application.Startup" /> event. </summary>
|
|
/// <param name="e"> A <see cref="T:System.Windows.StartupEventArgs" /> that contains the event
|
|
/// data. </param>
|
|
protected override void OnStartup(StartupEventArgs e)
|
|
{
|
|
// Set our localization to the users perfered language
|
|
Thread.CurrentThread.CurrentCulture = butterflow_ui.Properties.Settings.Default.Language;
|
|
Thread.CurrentThread.CurrentUICulture = butterflow_ui.Properties.Settings.Default.Language;
|
|
|
|
base.OnStartup(e);
|
|
}
|
|
}
|
|
}
|