我有 StopWatch ,我希望秒表从01:00:12,000
我的代码开始计数(不起作用):
Dim sp As New Stopwatch
Dim lb As New Label
Me.Controls.Add(lb)
lb.Text = ""
sp.Elapsed.Hours.Equals(1)
sp.Elapsed.Minutes.Equals(0)
sp.Elapsed.Seconds.Equals(12)
sp.Elapsed.Milliseconds.Equals(0)
sp.Start()
lb.Text = sp.Elapsed.Hours.ToString & ":" & sp.Elapsed.Minutes.ToString & ":" & sp.Elapsed.Seconds.ToString & "," & sp.Elapsed.Milliseconds.ToString