没更新前“重排”后是这样的:
For
Each c As WinForm.Control In e.Form.Controls
If Typeof c Is WinForm.TextBox Then '判断控件是否是文本框
Dim t As WinForm.TextBox = c '使用特定类型的变量引用控件
t.Value = Nothing
End If
Next
更新后“重排”后是这样的:
For Each c As WinForm.Control In e.Form.Controls
If Typeof c Is WinForm.TextBox Then '判断控件是否是文本框
Dim t As WinForm.TextBox = c '使用特定类型的变量引用控件
t.Value = Nothing
End If
Next
不知其他人有没有这情况。。。