父生子窗口

来源:互联网 发布:程曼丽 知乎 编辑:程序博客网 时间:2024/04/29 00:06
 add_R add_user = new add_R();
            for (int x = 0; x < this.MdiChildren.Length; x++)
            {
                Form tempChild = (Form)this.MdiChildren[x];
                tempChild.Close();
            }
            add_user.MdiParent = this;
            add_user.Tag = this.loginlb.Text.Trim();
            add_user.WindowState = FormWindowState.Maximized;
            add_user.Show();
原创粉丝点击