level 13
百百mp3
楼主
Dim hx, hy As Integer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For hy = 0 To 128
For hx = 0 To 198
Dim sf As New PictureBox
sf.Size = New Size(1, 1)
sf.BackColor = CType(PictureBox1.Image, Bitmap).GetPixel(hx, hy)
sf.Left = hx
sf.Top = hy
Panel1.Controls.Add(sf) '创建窗口句柄时出错。
Next
Next
End Sub
2012年02月25日 10点02分
1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For hy = 0 To 128
For hx = 0 To 198
Dim sf As New PictureBox
sf.Size = New Size(1, 1)
sf.BackColor = CType(PictureBox1.Image, Bitmap).GetPixel(hx, hy)
sf.Left = hx
sf.Top = hy
Panel1.Controls.Add(sf) '创建窗口句柄时出错。
Next
Next
End Sub