Click here to Skip to main content
15,846,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
hi
how can i design picture box image location ?  
Posted

1 solution

Hello There,

Try This :-

C#
this.pictureBox1.Image =((System.Drawing.Image)resources.GetObject("pictureBox1.Image")));
this.pictureBox1.InitialImage = null;
this.pictureBox1.Location = new System.Drawing.Point(63, 79);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(109, 111);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;



using this you can set your picture box at specific location.

may this will help you

-Thanks
-Andy
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900