时间只采摘了.NET的WinForms? [英] Time only pickers for .NET WinForms?

查看:124
本文介绍了时间只采摘了.NET的WinForms?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有吨的好日期选择在那里为Windows窗体,但我还没有找到任何好的时候只采摘。

There are tons of good date pickers out there for Windows forms, but I have yet to find any good time only pickers.

有什么建议?


修改

我想我应该更清楚。我说的是一个更好看的时间选择器。我们使用商业控制​​套件,默认时间选择器看的地方,因为它是如此平淡。

I guess I should be more clear. I am talking about a nicer looking time picker. We use a commercial control suite, and the default time picker looks out of place because it is so plain.

推荐答案

的DatePicker有一个属性格式,可以设置为时间。 一定要设置将ShowUpDown为True。

DatePicker has a property Format that can be set to Time. Be sure to set ShowUpDown to True.

Infragistics的是的WinForms pretty的流行,有其的DateTimePicker的选项。

Infragistics is pretty popular for Winforms and has the option for its DateTimePicker.

...设置MaskInput {时间}应   让您正在寻找的行为。   如果只设置于formatString   属性时,时间显示   只有当控件处于编辑模式   (当光标在控制)。

... setting the MaskInput to {time} should get the behavior you are looking for. If you only set the FormatString property, the the time will display only when the control is in edit mode (when the cursor is in the control).

从<一个href="http://forums.infragistics.com/forums/t/4172.aspx">http://forums.infragistics.com/forums/t/4172.aspx

这篇关于时间只采摘了.NET的WinForms?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆