2012-02-06 2 views
0

현재 VB 2010 프로그램에서 실행되는 두 개의 스톱워치가 있습니다. 그 값을 함께 결합하여 결과가 0:00:00 형식의 문자열로 출력되도록하고 싶습니다. VB.Net : 스톱워치 값 조합

나는 추가 방법과 + 방법을 시도하지만 실패

이 내가 가지고있는 짧은에 있습니다.?

Dim timer1 As New Stopwatch 
Dim timer2 As New Stopwatch 

[Assuming the timers were started separately] 

Dim elapsed1 As TimeSpan = timer1.Elapsed 
Dim elapsed2 As TimeSpan = timer2.Elapsed 

elapsed1 += elapsed2 

누군가가 도와 드릴까요

답변