title: How do I put an image into my picturebox using ImageLocation?
body: <p>I have created a picturebox within my panel and I would like to fill it up with an image locally.</p>
  
  <p>this is what I have done so far and the following code is just a small part of my panel creation code.</p>
  
  <pre><code>PictureBox picture = new PictureBox
          {
              Name = "pictureBox",
              Size = new Size(100, 50),
              Location = new Point(14, 17)
          };
          p.Controls.Add(picture);
          picture.ImageLocation = @"..\Image\1.jpg";
  </code></pre>
  
  <p>It does works but not fully as after I have launch my c# windows form application, it jus show a small white box with a red cross in the middle instead of the image. Any idea how to solve it?</p>