title: How to use Flow Layout Panel in C#
body: <p>I am currently working with c# and a flp.
  My program uses a loop to add buttons like
  <img src="https://i.stack.imgur.com/rchsY.jpg" alt="enter image description here"></p>
  
  <p>I need a third button directly under the red one, to get a view like
  <img src="https://i.stack.imgur.com/zkHzJ.jpg" alt="enter image description here"></p>
  
  <p>Any ideas?</p>
  
  <p>My code:</p>
  
  <pre><code>        private void createButton(Entry e)
      {
          Button newButton = new Button();
          newButton.Text = e.title;
          newButton.BackColor = System.Drawing.Color.FromArgb(e.colorARGB);
  
          //sizing
          newButton.Size = new System.Drawing.Size(300, 60);
          newButton.Font = new System.Drawing.Font(newButton.Font.FontFamily, 18);
          newButton.Click += new EventHandler(newButton_Click);
          newButton.ForeColor = System.Drawing.Color.FromArgb((int)InvertColor((uint)newButton.BackColor.ToArgb()));
          newButton.Tag = Link_List.Count - 1;
          m_fLPQuickboard.Controls.Add(newButton);
  
  
          Button newButtonX = new Button();
          newButtonX.Text = "X";
          newButtonX.BackColor = System.Drawing.Color.FromName("Red");
          newButtonX.Size = new System.Drawing.Size(30, 30);
          newButtonX.Click += new EventHandler(newButtonX_Click);
          newButtonX.Tag = Link_List.Count - 1;
  
          //Tooltips
          ToolTip newButtonTooltip = new ToolTip();
          newButtonTooltip.SetToolTip(newButton, getParameterFileAsTooltip(e.path));
      }
  </code></pre>