Log in

View Full Version : Opening a form in a picturebox


Mistery1
Jun 12, 2009, 03:54 AM
Hi there

Does anyone know how to open a form in a picturebox?

Thanks

Perito
Jun 12, 2009, 06:12 AM
Open a form in a picturebox? Do you have an example of someone doing this?

A picturebox is typically a component placed on a form. I'm not sure how you could open a form in a component. If you could explain a little better, then I might be able to help.

Mistery1
Jun 16, 2009, 11:24 PM
Hi there,

Thanks for the reply. Its OK I have the answer

Form1.TopLevel = False

SplitContainer1.Panel2.Controls.Add(Form1)

Form1.Show()

Form1.BringToFront()