private void listView1_DoubleClick(object sender, EventArgs e) { if (listView1.SelectedItems.Count <= 0) { return; } else { zjlrForm zjxx = new zjlrForm(); zjxx.onlyread = true; zjxx.loaddata(listView1.SelectedItems[0].Text); zjxx.ShowDialog(); } }
private void 专家信息录入ToolStripMenuItem_Click(object sender, EventArgs e) { if (fzjlr != null && !fzjlr.IsDisposed) { fzjlr.WindowState = FormWindowState.Normal; fzjlr.Focus(); } else { fzjlr = new zjlrForm(); fzjlr.MdiParent = this; fzjlr.Show(); //fzjlr.loaddata("100001"); } }