title: How to properly remove all labels from form
body: <p>I have this code:</p>
  
  <pre><code>        foreach (Control controlo in this.panel1.Controls)
          {
  
              if (controlo is Label)
                  panel1.Controls.Remove(controlo);
          }
  </code></pre>
  
  <p>But it is only removing "one yes, one no".. Can someone fix my code?</p>