#region 显示子窗体
/// <summary>
/// 显示子窗体
/// </summary>
/// <param name="form"></param>
private void ShowForm(Form form)
{
foreach (Form frm in this.MdiChildren)
{
if (frm.Text == form.Text)
{
frm.Activate();
return;
}
}
form.MdiParent = this;
form.Show();
}
#endregion