private void 借书ToolStripMenuItem_Click(object sender, EventArgs e) { if (this.book.bkId == 0) { return; } BorrowForm bf = new BorrowForm(0, "", book.bkId.ToString()); bf.Show(); }
//还书 private void ReturnBook(object sender, EventArgs e) { BorrowForm f = new BorrowForm(1); f.Show(); }
//续借 private void Renew(object sender, EventArgs e) { BorrowForm f = new BorrowForm(2); f.Show(); }