Merge pull request #1081 from ghost1372/patch-2

Fixed https://github.com/HandyOrg/HandyControl/issues/1065
This commit is contained in:
NaBian authored and GitHub committed 2022-03-27 20:04:53 +08:00
commit 67a5f757a8
1 file changed
-2
@@ -1,7 +1,6 @@
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;
@@ -82,7 +81,6 @@ public class DateTimePicker : Control, IDataInput
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) =>
{ {