private void BtnUpdate_Click(object sender, EventArgs e) { b = new Bll.ClsBooks(Convert.ToInt32(dgvBooks.SelectedRows[0].Cells["BookCode"].Value)); FrmBookChange fbc = new FrmBookChange(b, "update"); fbc.Show(); }
private void BtnAdd_Click(object sender, EventArgs e) { FrmBookChange fbc = new FrmBookChange(); fbc.Show(); }