//路径基本信息 private void tsPatnInfo_Click(object sender, EventArgs e) { if (Searcher.FindFormByName("FrmPathInfo")) { return; } //验证用户密码 if (!IsValidate()) { return; } FrmPathInfo frm = new FrmPathInfo(); frm.Show(dockPanel1, DockState.Document); //frm.Dispose(); }
//路径基本信息 private void tsPatnInfo_Click(object sender, EventArgs e) { //验证用户密码 if (!IsValidate()) { return; } FrmPathInfo frm = new FrmPathInfo(); frm.ShowDialog(); frm.Dispose(); }