如何在C#Asp.net中使用秒表 [英] How to use stop watch in c# Asp.net

查看:80
本文介绍了如何在C#Asp.net中使用秒表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用带有c#的asp.net开发工作状态应用程序.

在这个项目中,我想计算休息时间.

我认为秒表是计算时间的最佳方法.

在这个项目中,我有2个按钮

1次开始休息
2站休息

如果按钮1单击秒表要启动
如果按钮2单击秒表想要通过

我该如何实施

请帮帮我

在此先感谢
Dineshkumar R

I am trying to develop a work status application using asp.net with c#

In this Project i want to calculate the break time.

I think stopwatch is best way to calculate the time.

In this project i have 2 buttons

1 start break
2 stop break

if the button 1 click stop watch want to start
if the button 2 click stop watch want to pass

how can i implement

Please help me

thanks in advance
Dineshkumar R

推荐答案

请参见微小的StopWatch应用程序 [ ^ ].


希望适用于C#的高精度秒表 [
Hope A High-Precision Stopwatch for C#[^] article from CP might help you.


尝试

用于在C#或.NET中计时的高精度秒表类程序[ ^ ]
Try

A high precision stop watch class for timing in your C# or .NET programs[^]


这篇关于如何在C#Asp.net中使用秒表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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