private void 添加ToolStripMenuItem_Click(object sender, EventArgs e) { Form frm2 = new addStudentFrm(); frm2.Show(); /* this.Hide(); * if (frm2.ShowDialog() == DialogResult.OK) * { * Show(); * }*/ }
private void 添加ToolStripMenuItem_Click(object sender, EventArgs e) { Form frm2 = new addStudentFrm(); frm2.ShowDialog(this); }