Пример #1
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            index = 0;
            SotrudnikiAdd newfrm = new SotrudnikiAdd(index, cell);

            newfrm.Show();
        }
Пример #2
0
        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            cell  = dataGridView1.CurrentRow.Cells[0].Value.ToString();
            index = 1;
            SotrudnikiAdd newfrm = new SotrudnikiAdd(index, cell);

            newfrm.Show();
        }