Mdi Forms
-
I have a form which is set as the MdiParent and I open a modal form which is a login form. I want to open a MdiChild form if login is successful. I would usually set the MdiChild as below but as the login form is not the MdiParent how do I set the parent of the new Mdi form since I can't use the this keyword. fManagerChild ChildForm = new fManagerChild(); ChildForm.MdiParent = this; ChildForm.Show(); The forms are called: fManager (MdiParent), fLogin (Modal Form), fManagerChild (MdiChild) Thanks Neil
-
I have a form which is set as the MdiParent and I open a modal form which is a login form. I want to open a MdiChild form if login is successful. I would usually set the MdiChild as below but as the login form is not the MdiParent how do I set the parent of the new Mdi form since I can't use the this keyword. fManagerChild ChildForm = new fManagerChild(); ChildForm.MdiParent = this; ChildForm.Show(); The forms are called: fManager (MdiParent), fLogin (Modal Form), fManagerChild (MdiChild) Thanks Neil