创建一个秒表 [英] Create a stopwatch

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

问题描述

Hello guys

Hello guys

我想创建一个秒表。当且仅当此人点击文本块时,我该如何启动秒表?

I wanted to create a stopwatch. How can i start the stopwatch if and only if the person clicks the textblock?

pratik

推荐答案

为什么不点击按钮启动秒表?为此,只需用按钮替换文本块,然后在按钮单击事件中启动秒表。如果您无法用按钮替换文本块,则可以在文本块

点按
事件。

why do you don't start the stopwatch with a button click? For that, just replace the textblock with a button and start the stopwatch in the button click event. If you can't replace the textblock with a button you can start the stopwatch at the textblock Tap event.


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

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