我正在看一些从VB6移植过的VB.NET代码,我看到了这个方法.
Private Sub txtDefaultSlope_TextChanged(sender As Object, e As EventArgs) Handles txtDefaultSlope.TextChanged
Dim temp = Me.txtDefaultSlope.Text
Dim slope As Double
5:
If (Double.TryParse(temp, slope)) Then
...
End If
End Sub
Run Code Online (Sandbox Code Playgroud)
5:语句在方法的第4行中意味着什么?
| 归档时间: |
|
| 查看次数: |
358 次 |
| 最近记录: |