Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
        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();
        }