title: C# - PictureBox Location?
body: <p>In my code I would like that the <code>PictureBox.Location</code> changes when a certain event is triggered. That is not the problem though, the problem is that I dont understand what the difference between setting the Location in the Designer to <code>310;12</code> and with <code>System.Drawing.Point(310;12)</code>.
  In my case <code>System.Drawing.Point(310;12)</code> sets the position of the image way too far to the right. The point that I then tried out and fits with the designers Point is <code>232;12</code>.</p>
  
  <p>What is causing this and is there a way to fix it?</p>
  
  <p>EDIT: Here is the code for changing the Location of the PB:</p>
  
  <pre><code>this.ball.Location = new Point(
      232,
      12
      );
  </code></pre>
  
  <p>EDIT: Here are my steps that I did:<br>
  1. Create a Form<br>
  2. Create 2 buttons<br>
  3. Create a PictureBox and set its location to 310;12 in the designer<br>
  4. Trying to rearrange the picturebox with the buttons; one that sets the location to somewhere else and one that sets the picturebox back to its original location.</p>