|
Thursday, 09 September 2010 13:20 |
//This will ensure that no duplicate copies of a child form is created in an //MDI_Parent
//"Display" is the form name
foreach (Form childForm in this.MdiChildren)
{
if (childForm.GetType() == typeof(Display))
{
childForm.Focus();
return;
}
}
Display frmDisplay = new Display();
frmDisplay.MdiParent = this;
frmDisplay.Show();
Taking oxycodone with tramadol Read more: |