Select Case e.Sender.name
Case "hour","min","sec"
Dim hh As Double = e.Form.Controls("hour").value
msgbox(hh)
Dim mm As Double = e.Form.Controls("min").value
msgbox(mm )
Dim ss As Double = e.Form.Controls("sec").value
msgbox(ss )
msgbox(hh * 3600 + mm * 60 + ss)
e.Form.Controls("TimeSpanBox1").value = hh * 3600 + mm * 60 + ss
msgbox(e.Form.Controls("TimeSpanBox1").value)
End Select