hello friends,
i want to know that if i have already open form then same form will not open again... is it possible in Windows Application using C#...
and i m using MDI form and other then is Child form.. i m given you code and i dont knowhow can i solve my problem...]
//code for open form
Parties_Entry parties = new Parties_Entry();
parties.MdiParent = Main_Form.mainObj;
parties.Show();
Reply me ASAP...
Loading

Mamta MPosted Aug 25, 2010, 4:32 AM
//code for open form
Parties_Entry parties = new Parties_Entry();
parties.MdiParent = Main_Form.mainObj;
parties.Name = "parties";
if (this.ActiveMdiChild != null)
{
MessageBox.Show(this.ActiveMdiChild.Name);
if (this.ActiveMdiChild.Name != "parties")
parties.Show();
}
else
{
parties.Show();
}
Sam HobbsPosted Aug 25, 2010, 2:56 PM