I would do something like this....
private void mnuSearchItem_Click(object sender, EventArgs e)
{
Boolean IsFormShown = false;
foreach (Form ChildForm in this.MdiChildren)
{
if (ChildForm.Name == "frmItemData")
{
IsFormShown = true;
ChildForm.Focus();
}
}
if (!IsFormShown)
{
Cursor.Current = Cursors.WaitCursor;
itemData = new frmItemData();
itemData.MdiParent = this;
itemData.Font = this.Font;
itemData.Show();
Cursor.Current = Cursors.Default;
}
}