private void DgvProduct_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { int id; int.TryParse(dgvProduct.CurrentRow.Cells["Id"].Value.ToString(), out id); frmProductRequest frmProductRequest = new frmProductRequest(id); frmProductRequest.Show(); }
private void BtnProductAdd_Click(object sender, EventArgs e) { frmProductRequest frmProductRequest = new frmProductRequest(); frmProductRequest.Show(); }