摘要:
效果图如上,代码如下 private void Form3_Load(object sender, EventArgs e) { for (int i = 0; i 30; i++) { // Label lb = new Label(); Button lb = new Button(); lb.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); lb.Width = 80; lb.Height = 80; lb.Text = i.ToString("000"); lb.BackColor = Color.PowderBlue; 阅读全文