如何将变量放入 My.Resources,例如
My.Resources.[var]
这是我的代码:
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
For Each Fe In My.Resources.ResourceManager.GetResourceSet(System.Globalization.CultureInfo.CurrentCulture, False, True)
ProgressBar1.Maximum += 1
' MsgBox(Fe.Key)
My.Computer.FileSystem.WriteAllBytes _
(appath & "\bin\" & Fe.Key & ".jpeg", My.Resources.F.Key, True) 'Fe.Key As Variable
Next
End Sub
如何在 My.Resources 中使用 Fe.Key?