private void btnEdit_Click(object sender, EventArgs e) { FrmEditBook frm = new FrmEditBook(this, book); frm.ShowDialog(this); }
private void btnEditForm_Click(object sender, EventArgs e) { FrmEditBook frm = new FrmEditBook(this, null); frm.Show(); }