title: Remove all controls in a flowlayoutpanel in C#
body: <p>I'm building a flow layout panel whose each control represents for a room. I want to reload all room by removing all controls in the panel and adding new controls.</p>
  
  <p>I used:</p>
  
  <pre><code>foreach(Control control in flowLayoutPanel.Controls) 
  {
      flowLayoutPanel.Controls.Remove(control);
      control.Dispose(); 
  }
  </code></pre>
  
  <p>but some of controls couldn't be removed.</p>
  
  <p>I tried to find a solution on the internet but found nowhere.</p>
  
  <p>Could any body help?</p>