diff options
| author | Shlomo Hecht <shlomo@twine-s.com> | 2020-03-25 16:37:39 +0200 |
|---|---|---|
| committer | Shlomo Hecht <shlomo@twine-s.com> | 2020-03-25 16:37:39 +0200 |
| commit | 065bf199805406d21900e40d314154c92ec8e051 (patch) | |
| tree | 84c401ca3aa95d25cda019463b8b63275456c937 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI | |
| parent | e094952954ec5b1f643bc42581cfe46be15816e0 (diff) | |
| parent | 8f57d4962fa84499c8a153ebfff6e7766434ee1c (diff) | |
| download | Tango-065bf199805406d21900e40d314154c92ec8e051.tar.gz Tango-065bf199805406d21900e40d314154c92ec8e051.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs index 915deb484..28d0d84db 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/MainWindow.xaml.cs @@ -1,8 +1,10 @@ using MahApps.Metro.Controls; using System; using System.Collections.Generic; +using System.Globalization; using System.Linq; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; @@ -81,6 +83,10 @@ namespace Tango.MachineStudio.UI this.Loaded += MainWindow_Loaded; this.SizeChanged += MainWindow_SizeChanged; ContentRendered += MainWindow_ContentRendered; + + CultureInfo ci = CultureInfo.CreateSpecificCulture(CultureInfo.CurrentCulture.Name); + ci.DateTimeFormat.ShortDatePattern = "MMM dd yyyy"; + Thread.CurrentThread.CurrentCulture = ci; } private void MainWindow_ContentRendered(object sender, EventArgs e) |
