时间只采摘了.NET的WinForms?时间、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.有什么建...

有吨的好日期选择在那里为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).

从http://forums.infragistics.com/forums/t/4172.aspx

阅读全文

相关推荐

最新文章