Windows Develop Bookmark and Share   
 index > Windows Forms Designer > How to draw new PictureBox on a pictureBox
 

How to draw new PictureBox on a pictureBox

How can i draw a pictureBox into another pictureBox in a specified place??

Thank's

djzar2004  Monday, July 16, 2007 12:25 PM

Hi djzar2004,

The easiest way to do it is adding a PictureBox to another one. Try something like this:

Code Snippet

this.pictureBox1.Controls.Add(this.pictureBox2);

this.pictureBox2.Location = new Point(0, 0);

Hope this helps.

Regards

Hi djzar2004,

The easiest way to do it is adding a PictureBox to another one. Try something like this:

Code Snippet

this.pictureBox1.Controls.Add(this.pictureBox2);

this.pictureBox2.Location = new Point(0, 0);

Hope this helps.

Regards

You can use google to search for other answers

Custom Search

More Threads

• Max Size of a Form
• set selected index of combobox column in datagridview
• How to create an instance of System.Windows.Forms.AxHost.State ?
• Problem In Dataset!!!
• Properties help
• Weird VS 2005 crash
• Treeview find Problem
• calender control
• Can't access IO namespace (C#)
• Web Forms Editor