保存したすべての my.settings をテキスト ボックスに読み込もうとしていますが、保存した値を取得できません。これが私のコードです
Dim ctrl As Control
For Each ctrl In Me.Controls
If (ctrl.GetType() Is GetType(TextBox)) Then
Dim txt As TextBox = CType(ctrl, TextBox)
For i As Integer = 1 To 20
txt.Text = My.Settings("fp" & i)
Next
End If
Next
それを行う適切な方法は何ですか?ありがとう