title: How can i create array of pictureBoxess?
body: <p>I did:</p>
  
  <pre><code>pbs = new PictureBox[8];
              pbs[0].Location = new Point(12, 27);
              for (int i = 0; i &lt; pbs.Length; i++)
              {
                  pbs[i].Size = new Size(100, 100);
                  this.Controls.Add(pbs[i]);
              }
  </code></pre>
  
  <p>pbs is pictureBox[]</p>
  
  <p>What i need is to somehow calculate the spaces between the pictureBoxes.
  For example pictureBox2 should be at location: 12,160
  The next one at 12,....
  And 4 pictureBoxes at each side of the Form.
  My form1 size is 800x600
  So i want 4 pictureBoxes on the left side and 4 on the right size.</p>
  
  <p>How can i calculate the locations ?</p>