private void New_Click(object sender, EventArgs e) { Vid novoe = new Vid(); novoe.ShowDialog(); dataGridView1.DataSource = FILE_WORK.ReadTable(); }
private void dataGridView1_DoubleClick(object sender, EventArgs e) { Vid novoe = new Vid(Convert.ToInt32(dataGridView1.CurrentRow.Cells[0].Value)); novoe.ShowDialog(); FillData(); }