//添加控件
Button button = new Button();
button.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
button.Location = new System.Drawing.Point(3, 0);
button.Name = "button1";
button.Size = new System.Drawing.Size(118, 117);
button.TabIndex = 0;
button.Text ="button1";
button.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
button.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
flowLayoutPanel1.Controls.Add(button);