【发布时间】:2012-09-22 14:51:07
【问题描述】:
在我的项目中,我有两种形式 mainForm 和 testingForm。
在mainForm 我有button1,在testingForm 我有:
Stopwatch measure = new Stopwatch();
当用户单击button1 时,我希望measure 秒表启动,并使用它进行其他事件。我怎样才能做到这一点?我研究了很多,但没有任何帮助......
【问题讨论】:
-
主窗体上没有秒表有什么具体原因
-
是的。但如果这对你没有帮助,我不想写更多细节,因为它只是一个小应用程序,可以帮助我测量一些数据。
标签: c# winforms events stopwatch