Пример #1
0
 private void редактироватьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (dataGridView1.CurrentRow != null)
     {
         int        id     = Convert.ToInt32(dataGridView1.CurrentRow.Cells[0].Value);
         CRUStudent plForm = new CRUStudent(id);
         plForm.Show();
     }
 }
Пример #2
0
        private void добавитьToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CRUStudent plForm = new CRUStudent();

            plForm.Show();
        }