事件过程-c#Windows窗体应用程序设计

时间:2024-05-14 20:34:11
【文件属性】:

文件名称:事件过程-c#Windows窗体应用程序设计

文件大小:460KB

文件格式:PPT

更新时间:2024-05-14 20:34:11

C# 窗体 程序设计

事件过程: private void button1_Click(object sender, EventArgs e) { Form2 child = new Form2(); child.MdiParent = this; child.Show(); n++; child.Text = "第" + n + "个子窗体"; } private void button2_Click(object sender, EventArgs e) { this.LayoutMdi(System.Windows.Forms. MdiLayout.ArrangeIcons); } private void button3_Click(object sender, EventArgs e) { this.LayoutMdi(System.Windows.Forms. MdiLayout.Cascade); } private void button4_Click(object sender, EventArgs e) { this.LayoutMdi(System.Windows.Forms. MdiLayout.TileVertical); }


网友评论