StopWatch vs Timer - When to Use

前端 未结 2 1322
无人共我
无人共我 2021-02-13 14:16

Forgive me for this question, but I can\'t seem to find a good source of when to use which. Would be happy if you can explain it in simple terms.

Furthermore, I am faci

2条回答
  •  心在旅途
    2021-02-13 14:58

    This has already been covered in a number of other questions including here. Basically, you can either have Stopwatch with a Speed factor then the result is your "elapsed time". A more complicated approach is to implement Timer and changing the Interval property.

提交回复
热议问题