In a windows form, I can add control dynamically by doing this:

for (int i = 0; i < 5; i++)
{
    Button button = new Button();
    button.Location = new Point(160, 30 * i + 10);

    button.Tag = i;
    this.Controls.Add(button);
}

How do I add controls dynamically in a FlowLayoutPanel?

Edit
Report