private void mnuTY_Click(object sender, EventArgs e) { if (!FormExist("frmTYSetting")) { frmTYSetting test = new frmTYSetting(); test.Show(dockPanel); } }