title: Drawing on a panel c#
body: <p>I need to graph a polygonal on a panel (size 400, 400)
  I try this, but it doesn't work.</p>
  
  <pre><code>PointF[] points = new PointF[totalpaso + 1];
  for (int d = 0; d &lt;= totalpaso; d++)
  {
      s = (float)(hola1[d] + 200);
      w = (float)(hola2[d] + 200);
      j = new PointF(s, w);
      points[d] = j;
  }
  grafico.DrawPolygon(lapiz, points);
  </code></pre>