jvoros1
asked on
MDIParent Child relationship
Hello Expert, I have a form and my frmMainMenu is the mdiParent, and on the frmMainMenu when i select to open ProjectInfo I make that the child
this.SetMnuProjectInfo(fal se);
ProjectInfo.frmProjectInfo frmProjectInfoGUI = new ProjectInfo.frmProjectInfo ();
frmProjectInfoGUI.MdiParen t = this;
frmProjectInfoGUI.Show();
this.Focus();
My problem is when i am on my frmProjectInfo and i want to open frmContactInfo from inside that form how can i get it to open inside the mdiParent this is my code to open the other form
ContactInfo.frmContactInfo frmContactInfoGUI = new ContactInfo.frmContactInfo ();
Genesis.frmMainMenu afrmMainMenu = new Genesis.frmMainMenu();
frmContactInfoGUI.ShowDial og(this) ;
FillComboBoxes();
if(aProjectInfoPD.GetProje ctID() != 0)
{
modes(true);
PopulateContact();
LoadInformation();
}
the reason i use a showDialog is cause once that form is closed i need to repopulate my comboboxes with the contact that was added any ideas on how i could do this?
Thanks
this.SetMnuProjectInfo(fal
ProjectInfo.frmProjectInfo
frmProjectInfoGUI.MdiParen
frmProjectInfoGUI.Show();
this.Focus();
My problem is when i am on my frmProjectInfo and i want to open frmContactInfo from inside that form how can i get it to open inside the mdiParent this is my code to open the other form
ContactInfo.frmContactInfo
Genesis.frmMainMenu afrmMainMenu = new Genesis.frmMainMenu();
frmContactInfoGUI.ShowDial
FillComboBoxes();
if(aProjectInfoPD.GetProje
{
modes(true);
PopulateContact();
LoadInformation();
}
the reason i use a showDialog is cause once that form is closed i need to repopulate my comboboxes with the contact that was added any ideas on how i could do this?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER