带按钮的秒表功能 [英] stopwatch function with button

查看:107
本文介绍了带按钮的秒表功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个开始和停止应该在一个按钮上。但我不想在按钮上启动和停止文字。只有当我们按下按钮时按钮才会发出按钮文本按钮,定时器应该在标签上开始,当我们再次按下按钮时,定时器应该停止,标签时间应该为零。当我们再次按下它应该开始。

是否有人知道......我们必须使用它的功能..............

for this start and stop should there on a button. but i don''t want start and stop text on the button. let the button text bi button1 only when we press the button the timer should start on a lable and when we again press the button the timer should stop and the lable time should bi zero. and when we again press it should start .
does anybody know ......the function what we have to use for it..............

推荐答案

这不是代码编写服务,但如果你发布了你所拥有的内容以及问题的描述和你得到的任何错误信息,我们可以帮助指导你一个解决方案。
This is not a code writing service but if you post what you have along with a description of the problem and any error messages you get, we can help guide you to a solution.


展开 | 选择 | Wrap | 行号


展开 | 选择 | Wrap | 行号


这篇关于带按钮的秒表功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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