1.MDI界面效果图

在父窗体中点击”打开“弹出子窗体界面
2.实现MDI主界面的主要步骤
1.将父窗体的IsMdiContainer属性设置为Ture;
2.在父窗体的“打开”点击事件中打代码
FormChild frmChild = new FormChild();
frmChild.MdiParent = this;
frmChild.Show();
3.控件以及控件的重要属性、方法
控件 | 属性 | 方法 |
---|---|---|
ToolStrip | Text,Image | 文本,图片 |
4.主界面的功能如何与系统结构图对应


收银员或库管员登陆成功后进入登陆界面
5.贴入重要代码片段,并进行详细描述
private void 打开ToolStripMenuItem_Click(object sender, EventArgs e)
{
FormChild frmChild = new FormChild();
frmChild.MdiParent = this;
frmChild.Show();
//设置frmChild的父窗体为FormContainer
}
网友评论