E
Earl
How do I set a form's MdiParent property to the MdiParent when it is NOT
created by the MDIParent?
For example, frmMain creates frmA, frmA creates frmB .. how to make frmMain
the MdiParent of frmB?
private void btnAddNew_Click(object sender, EventArgs e)
{
frmB frmB = new frmB();
// this will not work
//frmEntry.MdiParent = frmMain;
frmEntry.Show();
this.Close();
}
created by the MDIParent?
For example, frmMain creates frmA, frmA creates frmB .. how to make frmMain
the MdiParent of frmB?
private void btnAddNew_Click(object sender, EventArgs e)
{
frmB frmB = new frmB();
// this will not work
//frmEntry.MdiParent = frmMain;
frmEntry.Show();
this.Close();
}