-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.xaml.cs
35 lines (33 loc) · 1.04 KB
/
App.xaml.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
namespace Invoice365
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
//System.Threading.Thread.CurrentThread.CurrentUICulture = System.Globalization.CultureInfo.GetCultureInfo("es-ES");
//MessageBox.Show(System.Threading.Thread.CurrentThread.CurrentUICulture.ToString());
//WPFLocalizeExtension.Engine.LocalizeDictionary.Instance.Culture = System.Globalization.CultureInfo.GetCultureInfo("es-ES");
base.OnStartup(e);
}
public void Run()
{
try
{
base.Run();
}
catch (Exception e)
{
MessageBox.Show(e.GetBaseException().Message + " " + e.GetBaseException().StackTrace);
}
}
}
}