Lalit
-
2005-06-30
- priority: 5 --> 9
When I try to use NUnitForms with MDI child forms, then
Nunitforms crashes.
Following is my Test case
[Test]
public void TestMDI()
{
frmMDI oMDI = new frmMDI();
oMDI.Show();
}
In my MDI form load I open the child form:
private void frmMDI_Load(object sender, System.EventArgs e)
{
frmChild ochild = new frmChild();
ochild.Parent = this; //this line crashes NUnitforms
ochild.Show();
}
If we do not use this line "ochild.Parent = this;" then
this test works.
Pls. provide solution for this issue or work around for
the same that how can we test MDI child forms?