G
Guest
Dear All
I`m tring to add a PictureBox to a Form. My code as below.
Dim myPic as new PictureBox
myPic.Location = new Point(10,10)
myPic.Size = new Size(100,100)
FrmMain.Controls.Add(myPic)
Then I got a "ArgumentException" at this line
FrmMain.Controls.Add(myPic)
Somebody help?
Thanks a lot !!
Joey
I`m tring to add a PictureBox to a Form. My code as below.
Dim myPic as new PictureBox
myPic.Location = new Point(10,10)
myPic.Size = new Size(100,100)
FrmMain.Controls.Add(myPic)
Then I got a "ArgumentException" at this line
FrmMain.Controls.Add(myPic)
Somebody help?
Thanks a lot !!
Joey