Merge pull request #679 from ghost1372/patch-2
Update DateTimePicker.cs Fix #661
This commit is contained in:
1 file changed
+2
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel;
|
using System.ComponentModel;
|
||||||
|
using System.Threading;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Controls.Primitives;
|
using System.Windows.Controls.Primitives;
|
||||||
@@ -81,6 +82,7 @@ namespace HandyControl.Controls
|
|||||||
|
|
||||||
public DateTimePicker()
|
public DateTimePicker()
|
||||||
{
|
{
|
||||||
|
Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
|
||||||
InitCalendarWithClock();
|
InitCalendarWithClock();
|
||||||
CommandBindings.Add(new CommandBinding(ControlCommands.Clear, (s, e) =>
|
CommandBindings.Add(new CommandBinding(ControlCommands.Clear, (s, e) =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user