Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Control in side a control

I'm manually coding a picture box like so:
Code
Private Map As New PictureBox()

Picturebox.Dock = DockStyle.Fill
Picturebox.Image = My.Resources.utes
Me.Controls.Add(Picturebox)
How do I add in a panel, and then nest the picture box inside the panel?
Similar to the form the panel has a "Controls" property which you can call Add in order add controls into it.

panel1.Controls.Add(....)


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by ۤMD5Aug 31, 2015 05:52 AM 20 1,100 Aug 31, 2015 05:52 AM
Last Post: Mr Whiskey
[C] by telmo_dMar 30, 2015 06:00 PM 5 166 Mar 30, 2015 06:00 PM
Last Post: 0xDEAD10CC
[.NET] by DjokovicJan 17, 2014 11:08 AM 5 231 Jan 17, 2014 11:08 AM
Last Post: Lambasoft