コード例 #1
0
        private void btnShowChild2_Click(object sender, EventArgs e)
        {
            Child2Form objChild = new Child2Form();

            objChild.MdiParent = this.MdiParent;
            objChild.Show();
        }
コード例 #2
0
        private void Example02Form_Load(object sender, EventArgs e)
        {
            Child2Form objChild = new Child2Form();

            objChild.MdiParent = this;
            objChild.Show();
        }