Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            Row r  = new Row(flowLayoutPanel);
            RowData rData = new RowData();
            rData.name = textBox1.Text;
            rData.phone = textBox2.Text;
            r.setData1(rData);

            flowLayoutPanel.Controls.Add(r);
        }
Example #2
0
 public void AddFlow(Row r)
 {
     flowLayoutPanel1.Controls.Add(r);
 }