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...
Loading
Diptimaya PatraPosted Feb 16, 2010, 10:40 PM
public void LoadChild()
{
chidForm objChild = new childForm();
this.Hide();
objChild.ShowDialog();
}
---------------------------------
MARK IT AS ANSWER IF IT HELPS
kiran kumarPosted Feb 16, 2010, 12:10 PM
mark if it helps you