hi everyone,
i created two forms, one is parentForm and another one is childForm.
i place one button on parentForm(btnClick).In button Click event i called this below function
button click event
thread obj = new thread(LoadChild);
obj.backgroundprocess = true;
obj.start();
public void LoadChild()
{
chidForm objChild = new childForm();
objChild.ShowDialog();
}
i set parentForm property isMDiContent is true..
and my problem is whenever i am calling this function
childForm openning fine but parentForm also openning without closing childForm..
plz give me anyone solutin...
Showdialog() methos not working
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

kiran kumarRank #3,110 · 461 reputationPosted Feb 16, 2010, 7:10 AM EST
mark if it helps you
Diptimaya PatraRank #113 · 19.8K reputationPosted Feb 16, 2010, 5:40 PM EST
public void LoadChild()
{
chidForm objChild = new childForm();
this.Hide();
objChild.ShowDialog();
}
---------------------------------
MARK IT AS ANSWER IF IT HELPS