日期:2014-05-18 浏览次数:20815 次
panel3.AutoScroll = true; for (int i = 0; i < 1200; i++) { Label la = new Label(); la.Left = 0; la.Top = i * 81; la.Width = 80; la.Height = 80; la.Text = i.ToString(); la.BackColor = Color.Red; panel3.Controls.Add(la); }