private void btnEdit_Click(object sender, EventArgs e) { if (dgDetails.Rows.Count > 0) { Forms.frmBookEntry oForm = new frmBookEntry(this, oMTransaction); oForm.ShowDialog(); } }
private void dgDetails_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (dgDetails.Rows.Count > 0) { Forms.frmBookEntry oForm = new frmBookEntry(this, oMTransaction); oForm.ShowDialog(); } }
private void btnAdd_Click(object sender, EventArgs e) { Forms.frmBookEntry oFrm = new frmBookEntry(this); oFrm.ShowDialog(); }