//学生数据右键菜单相关操作 private void 修改此数据ToolStripMenuItem_Click(object sender, EventArgs e) { FormStuUpdate FormStuUpdate = new FormStuUpdate(); FormStuUpdate.id = skinDataGridViewStudent.SelectedRows[0].Cells[0].Value.ToString(); FormStuUpdate.Show(); }
private void 更新学生数据ToolStripMenuItem1_Click(object sender, EventArgs e) { //打开更新学生数据窗体 FormStuUpdate FormStuUpdate = new FormStuUpdate(); FormStuUpdate.Show(); }