mirror of
https://gitee.com/handyorg/HandyControl.git
synced 2024-12-03 12:27:50 +08:00
Update DateTimePicker.cs
This commit is contained in:
parent
e23166a9e9
commit
a7fb4c947a
@ -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) =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user