private void btnShowChild2_Click(object sender, EventArgs e) { Child2Form objChild = new Child2Form(); objChild.MdiParent = this.MdiParent; objChild.Show(); }
private void Example02Form_Load(object sender, EventArgs e) { Child2Form objChild = new Child2Form(); objChild.MdiParent = this; objChild.Show(); }