diff options
Diffstat (limited to 'grapher/Program.cs')
| -rw-r--r-- | grapher/Program.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/grapher/Program.cs b/grapher/Program.cs index 894d1cd..bd7d2f9 100644 --- a/grapher/Program.cs +++ b/grapher/Program.cs @@ -1,4 +1,5 @@ using System; +using System.Globalization; using System.Windows.Forms; namespace grapher @@ -19,6 +20,9 @@ namespace grapher return; } + CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; + CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture; + AppDomain.CurrentDomain.UnhandledException += GlobalUnhandledExceptionHandler; Application.EnableVisualStyles(); |