private void 添加学生信息ToolStripMenuItem_Click(object sender, EventArgs e) { frmAddStudent frmAddstudent = new frmAddStudent(); frmAddstudent.MdiParent = this; frmAddstudent.StartPosition = FormStartPosition.CenterScreen; frmAddstudent.Show(); }
private void button2_Click(object sender, EventArgs e) { frmAddStudent frmAddstudent = new frmAddStudent(); frmAddstudent.Show(); }