private void btnUpdate_Click(object sender, EventArgs e) { VamForm frmVam = new VamForm(false, int.Parse(dataGridVam[1, dataGridVam.CurrentCell.RowIndex].Value.ToString())); frmVam.ShowDialog(); }
private void btnCreate_Click(object sender, EventArgs e) { VamForm frmVam = new VamForm(true, 0); frmVam.ShowDialog(); }