title: Best way to render seat plan
body: <p>I'm trying to dynamically render a seat plan in a winforms app. I'm not sure the best way to handle this.</p>
  
  <p>I did initially start of with this</p>
  
  <pre><code>        string[] blocks = new string[6] { "A", "B", "C", "D", "E", "F" };
          int[] rows = new int[6] { 10, 6, 6, 10, 8, 8 };
          int[] seats = new int[6] { 15, 10, 10, 15, 25, 25 };
  </code></pre>
  
  <p>forgetting that it would just loop through the rows and seats arrays for the size of the arrays. I actually need to render out a differing number of seats per row and a different number of rows per blocks.</p>
  
  <p>So in the code sample above; Block A has 10 rows with each row having 15 seats. Block B has 6 rows, with each row having 10 seats, etc, etc</p>
  
  <p>My code renders out a label control for each seat.</p>