110,534
社区成员
发帖
与我相关
我的任务
分享
panel1.Dock = DockStyle.Fill;
private void Form1_Load(object sender, EventArgs e)
{
panel1.Left = this.Left;
panel1.Top = this.Top;
panel1.Width = this.Width;
panel1.Height = this.Height;
}
private void Form1_Resize(object sender, EventArgs e)
{
panel1.Left = this.Left;
panel1.Top = this.Top;
panel1.Width = this.Width;
panel1.Height = this.Height;
}