private void button2_Click(object sender, EventArgs e) { Form Child_Ins = new Child_Ins(true); Child_Ins.ShowDialog(); UpdTable1(); }
private void изменитьToolStripMenuItem_Click(object sender, EventArgs e) { Value.id_c = Convert.ToInt32(dataGridView1[0, dataGridView1.CurrentRow.Index].Value.ToString()); Form Child_Ins = new Child_Ins(false); Child_Ins.ShowDialog(); UpdTable1(); }