A
.::alex::.
Hello,
I have an interesting question. I have an MDI App. The Child Windows are
in different projects and namespaces according with his business logic.
So, the "main" namespace contains the MDI Parent from where I call the Child
Forms as you see here:
frmCategories objfrmSChild = frmCategories.GetChildInstance();
objfrmSChild.MdiParent = this;
objfrmSChild.WindowState = FormWindowState.Normal;
objfrmSChild.Show();
objfrmSChild.BringToFront();
objfrmSChild.Dock = DockStyle.Left;
splitContainer1.Panel1.Controls.Add(objfrmSChild);
objfrmSChild.SetParent(this);
The Project of the MDI Parent contains the references to each
sub-Project (.dll - Categories in that case). In the same time the MDI
Parent contains a small window, docked at the bottom, where I log some
events... where it will inform the user about his actions. So, my question
is how to do that?
I cannot add a reference of the MDI Parent (project) to the dlls (MDI
Childs) because, of course I have a ciclyc refence.
So, can somebody tell me what is the solution?
Thank you in advance.
Best regards,
Alex
I have an interesting question. I have an MDI App. The Child Windows are
in different projects and namespaces according with his business logic.
So, the "main" namespace contains the MDI Parent from where I call the Child
Forms as you see here:
frmCategories objfrmSChild = frmCategories.GetChildInstance();
objfrmSChild.MdiParent = this;
objfrmSChild.WindowState = FormWindowState.Normal;
objfrmSChild.Show();
objfrmSChild.BringToFront();
objfrmSChild.Dock = DockStyle.Left;
splitContainer1.Panel1.Controls.Add(objfrmSChild);
objfrmSChild.SetParent(this);
The Project of the MDI Parent contains the references to each
sub-Project (.dll - Categories in that case). In the same time the MDI
Parent contains a small window, docked at the bottom, where I log some
events... where it will inform the user about his actions. So, my question
is how to do that?
I cannot add a reference of the MDI Parent (project) to the dlls (MDI
Childs) because, of course I have a ciclyc refence.
So, can somebody tell me what is the solution?
Thank you in advance.
Best regards,
Alex