private void button5_Click(object sender, EventArgs e) {//открытие формы изменения студента if (dataGridView1.CurrentRow == null) return; n = dataGridView1.CurrentRow.Index; EditStudentForm formS = new EditStudentForm(); formS.AddGroupForm = this; formS.ShowDialog(); }
private void button4_Click(object sender, EventArgs e) { if (dataGridView1.CurrentRow == null) { return; } n = dataGridView1.CurrentRow.Index; EditStudentForm formS = new EditStudentForm(); formS.EditGroupForm = this; formS.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { if (студентDataGridView.CurrentRow == null) { return; } n = студентDataGridView.CurrentRow.Index; EditStudentForm formS = new EditStudentForm(); formS.Form2 = this; formS.ShowDialog(); }
private void button2_Click(object sender, EventArgs e) { //открытие формы с изменением студента if (dataGridView1.CurrentRow == null) { return; } n = dataGridView1.CurrentRow.Index; EditStudentForm formS = new EditStudentForm(); formS.Form2 = this; formS.ShowDialog(); }