我有一组图片框,如下所示:
Dim pieces(500) As PictureBox
pieces(1) = New PictureBox
With pieces(1)
.CreateControl()
.Visible = True
.BackColor = Color.Red
.Width = 50
.Height = 50
.Left = 50
.Top = 50
End With
该程序不会崩溃或任何事情,但是在表单上找不到图片框。如何使这项工作正常工作?
“控制阵列”是正确的术语吗?或者是其他东西?