在updown箭头中选择时间(小时,分钟,秒) [英] select time (hours,minutes,second) in updown arrow

查看:131
本文介绍了在updown箭头中选择时间(小时,分钟,秒)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在VB.NET中的updown箭头按钮中选择时间(小时,分钟,秒)。


因为我们的系统中的日期和时间属性中显示当前时间。


的日期和时间属性,当我们按下updown arrown,这将只改变小时,如果我们选择分钟并按下向上箭头,分钟将会改变,如果我们选择秒并按下向上箭头,它将改变秒数。

如果我们使用numericupdown工具,我只能给出小时,分钟或秒。我不能把所有三个小时组合在一起:分钟:在数字下拉箭头中的第二个。

如果我使用domainupdown工具,我不知道如何在单个更新中单独选择小时,分钟。

如果您有任何想法,请帮助我。如果你能举一个对我有帮助的例子。

提前谢谢。

how can i select time (hours,minutes,second) in updown arrow buttons in VB.NET.

as we have current time displayed in date and time properties in our system.

in date and time properties, while we press updown arrown, that will change only hour first, and if we select the minutes and press updown arrow, minutes will get changed and if we select the seconds and press updown arrow, it will change the seconds.
if we use numericupdown tool, i can give only hour, or minutes, or second. i cant combine all the three hours:minutes:second in that numericupdown arrow.
if i use domainupdown tool, i dont know how to select hours,minutes seperately inside a single updown.
if you have any idea how to do this please help me. and if you can give an example that will be a great help for me.
thanks in advance.

推荐答案

我最近使用了这个然后将3个Numeric Up Down工具组合起来。
I recently did this using 3 Numeric Up Down tools then combining them.
展开 | 选择 | Wrap | 行号


感谢您的帮助。再多一次,

这意味着3个数字下降应该在那里,我们需要选择第一次数字下降时的小时数,秒数数字下注中的分钟数等等。我们将它们结合起来。

我们可以在一个单独的一个中完成这个,因为我们有日期和时间属性...

我们有hh:mm:ss in一个盒子,如果我们选择小时,那么我们只能增加几个小时,如果我们选择分钟然后增加等等......


如果你有任何如何做这个plesae帮助我。

提前感谢。
thank for your help. one more dought,
this means 3 numericupdown should be there and seperately we need to select the hours in first numericupdown, minutes in secong numericupdown and so on. and we will combine them.
can we do this in a single one, as we have in date and time properties...
we have hh:mm:ss in one box and if we select the hours, then we can increment only hours and if we select minutes then increment that and so on...

if you have anyidea how to do this plesae help me.
thanks in advance.


不太确定。我希望DateTimePicker能让我这样做,但我还是没有看到调整DateTimePicker的时间所以我只是创建了自己的Time Modifier。
Not quite sure about that. I was hoping that the DateTimePicker was going to let me do this but I didn''t see anyway to adjust time on the DateTimePicker so I just created my own Time Modifier.


这篇关于在updown箭头中选择时间(小时,分钟,秒)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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