Example #1
0
 private void изменитьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     string IDchange = Convert.ToString(dataGridView1.Rows[dataGridView1.CurrentRow.Index].Cells[0].Value);
     Staff EditForm = new Staff("Изменить", IDchange);
     EditForm.Show();
 }
Example #2
0
 private void создатьToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Staff EditForm = new Staff();
     EditForm.Show();
     EditForm.button1.Text = "Добавить запись";
 }