mirror of
https://github.com/wagesj45/butterflow-ui.git
synced 2025-09-09 03:00:39 -05:00
Localizations. User Settings. About and Options Menu.
This commit is contained in:
parent
0ffd5c401b
commit
5083716c05
16 changed files with 865 additions and 21 deletions
|
|
@ -2,7 +2,9 @@
|
|||
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;
|
||||
|
||||
|
|
@ -13,5 +15,16 @@ namespace butterflow_ui
|
|||
/// </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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue