S
Sachi
Hi,
I am trying to invoke as like below.
Form frmChild = (Form) Activator.CreateInstance
(typeInstance);
frmChild.MdiParent =
_parentForm;
frmChild.StartPosition =
FormStartPosition.CenterScreen;
frmChild.Show();
When I invoke a form it works fine after frmchild is
shown it is giving error saying "No parameterless
constructor defined for this object.". But still works.
Catch is when i again invoke some child frm from
frmChild it throws again "No parameterless constructor
defined for this object." and fails to load any form.
But when i remove mdiparent property it works fine.
That is not the soultion i want. I want all the forms
inside MDI application.
There is no clue or solution soo far. Hope someone can
share some light on this problem.
Best Regards,
Sachi
I am trying to invoke as like below.
Form frmChild = (Form) Activator.CreateInstance
(typeInstance);
frmChild.MdiParent =
_parentForm;
frmChild.StartPosition =
FormStartPosition.CenterScreen;
frmChild.Show();
When I invoke a form it works fine after frmchild is
shown it is giving error saying "No parameterless
constructor defined for this object.". But still works.
Catch is when i again invoke some child frm from
frmChild it throws again "No parameterless constructor
defined for this object." and fails to load any form.
But when i remove mdiparent property it works fine.
That is not the soultion i want. I want all the forms
inside MDI application.
There is no clue or solution soo far. Hope someone can
share some light on this problem.
Best Regards,
Sachi