private void Form1_Load(object sender, EventArgs e) { groupBox1.Text = "信息表"; panel1.BorderStyle = BorderStyle.FixedSingle;//设置panel1控件边框样式 panel1.AutoScroll = true;//设置panel1控件自动显示滚动条 }
![](https://i-blog.csdnimg.cn/blog_migrate/b36d4e181a1afaf489b4da7d98d10a95.png)
private void Form1_Load(object sender, EventArgs e) { groupBox1.Text = "信息表"; panel1.BorderStyle = BorderStyle.FixedSingle;//设置panel1控件边框样式 panel1.AutoScroll = true;//设置panel1控件自动显示滚动条 }
转载于:https://www.cnblogs.com/leijiangtao/p/4162888.html